Nextras\Orm\Entity\IEntity::getValue PHP 메소드

getValue() 공개 메소드

Returns value.
public getValue ( string $name ) : mixed
$name string
리턴 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