Свойство | Тип | Описание | |
---|---|---|---|
$direction | |||
$end | integer | ||
$entity | object | ||
$relationship_name | string | ||
$sort_by | string | ||
$start | integer |
Метод | Описание | |
---|---|---|
__construct ( object $entity, string $relationship_name, string $sort_by, |
||
getDirection ( ) : |
Get Direction | |
getEnd ( ) : integer | Get end index | |
getEntity ( ) : object | Get Entity | |
getRelationshipName ( ) : string | Get relationship name | |
getSortBy ( ) : string | Get sorting field name | |
getStart ( ) : integer | Get start index | |
setDirection ( |
Set Direction | |
setEnd ( integer $end ) | Set end index | |
setEntity ( object $entity ) | Set Entity | |
setRelationshipName ( string $relationship_name ) | Set relationship name | |
setSortBy ( string $sort_by ) | Set sorting field name | |
setStart ( integer $start ) | Set start index |
public __construct ( object $entity, string $relationship_name, string $sort_by, |
||
$entity | object | Entity to retrieve relationships from |
$relationship_name | string | Name of the relationship on provided entity |
$sort_by | string | Sort by column |
$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 getDirection ( ) : |
||
Результат |
public getRelationshipName ( ) : string | ||
Результат | string |
public setDirection ( |
||
$direction |
public setRelationshipName ( string $relationship_name ) | ||
$relationship_name | string |
protected Direction,Bravo3\Orm\Enum $direction | ||
Результат |