Bravo3\Orm\Mappers\Metadata\Entity::getSortables PHP Method

getSortables() public method

Get Sortables
public getSortables ( ) : Sortable[]
return Sortable[]
    public function getSortables()
    {
        return $this->sortables;
    }

Usage Example

コード例 #1
0
ファイル: YamlMapWriter.php プロジェクト: bravo3/orm
 /**
  * Compile all sortable table indices
  *
  * @param Entity $md
  * @return array
  */
 private function compileSortIndices(Entity $md)
 {
     return $this->compileSortables($md->getSortables());
 }