Sorts results based on config options Vanilla.Discussions.SortField
and Vanilla.Discussions.SortDirection.
Events: BeforeGet, AfterAddColumns.
public get ( integer $Offset = '0', integer $Limit = '', array $Wheres = '', array $AdditionalFields = null ) : Gdn_DataSet | ||
$Offset | integer | Number of discussions to skip. |
$Limit | integer | Max number of discussions to return. |
$Wheres | array | SQL conditions. |
$AdditionalFields | array | Allows selection of additional fields as Alias=>Table.Fieldname. |
Результат | Gdn_DataSet | SQL result. |