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
 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