Пример #1
0
 protected function volatile_get_collection()
 {
     return Collection::get();
 }
Пример #2
0
 public function __construct(Module $module, array $attributes = array())
 {
     $this->module = $module;
     $this->collection = Collection::get();
     parent::__construct($attributes + array(self::COLUMNS => array('is_active' => __CLASS__ . '\\IsActiveColumn', 'title' => __CLASS__ . '\\TitleColumn', 'configuration' => __CLASS__ . '\\ConfigurationColumn', 'usage' => __CLASS__ . '\\UsageColumn', 'clear' => __CLASS__ . '\\ClearColumn'), self::ENTRIES => $this->collection));
 }