Nextras\Orm\Entity\IEntity::getValue PHP Method

getValue() public method

Returns value.
public getValue ( string $name ) : mixed
$name string
return mixed
    public function &getValue($name);

Usage Example

コード例 #1
0
ファイル: Control.php プロジェクト: ytnuk/orm
 protected function createComponentPagination() : Nette\Application\UI\Multiplier
 {
     return new Nette\Application\UI\Multiplier(function ($key) : Ytnuk\Orm\Pagination\Control {
         $control = new Ytnuk\Orm\Pagination\Control($this->entity->getValue($key), is_array(static::$itemsPerPage) ? static::$itemsPerPage[$key] ?? self::$itemsPerPage : static::$itemsPerPage);
         if ($this->storage) {
             $control->setCacheStorage($this->storage);
         }
         return $control;
     });
 }
All Usage Examples Of Nextras\Orm\Entity\IEntity::getValue