Bravo3\Orm\Query\SortedTableQuery::__construct PHP Method

__construct() public method

public __construct ( string $class_name, string $sort_by, Direction $direction = null, integer $start = null, integer $end = null )
$class_name string Class name of table to query
$sort_by string Sort by column
$direction Bravo3\Orm\Enum\Direction Assumes ascending if omitted
$start integer Start index (inclusive), null/0 for beginning of set
$end integer Stop index (inclusive), null/-1 for end of set, -2 for penultimate record
    public function __construct($class_name, $sort_by, Direction $direction = null, $start = null, $end = null)
    {
        parent::__construct($class_name, null, $sort_by, $direction, $start, $end);
    }
SortedTableQuery