/** * Get a dataset for the model with a where filter. * * @param array $Where A filter suitable for passing to Gdn_SQLDriver::Where(). * @param string $OrderFields A comma delimited string to order the data. * @param string $OrderDirection One of <b>asc</b> or <b>desc</b> * @param int $Limit * @param int $Offset * @return Gdn_DataSet */ public function GetWhere($Where = FALSE, $OrderFields = '', $OrderDirection = 'asc', $Limit = FALSE, $Offset = FALSE) { $this->_BeforeGet(); return $this->SQL->GetWhere($this->Name, $Where, $OrderFields, $OrderDirection, $Limit, $Offset); }