Example #1
0
 /**
  * Method to instantiate the view.
  *
  * @param Model            $model     The model object.
  * @param Container        $container DI Container.
  * @param array            $config    View config.
  * @param SplPriorityQueue $paths     Paths queue.
  */
 public function __construct(Model $model = null, Container $container = null, $config = array(), \SplPriorityQueue $paths = null)
 {
     $config['grid'] = array('option' => 'com_fbimporter', 'view_name' => 'item', 'view_item' => 'item', 'view_list' => 'items', 'order_column' => 'item.catid, item.ordering', 'order_table_id' => 'itemList', 'ignore_access' => false);
     // Directly use php engine
     $this->engine = new PhpEngine();
     parent::__construct($model, $container, $config, $paths);
 }
Example #2
0
 /**
  * Method to instantiate the view.
  *
  * @param Model            $model     The model object.
  * @param Container        $container DI Container.
  * @param array            $config    View config.
  * @param SplPriorityQueue $paths     Paths queue.
  */
 public function __construct(Model $model = null, Container $container = null, $config = array(), \SplPriorityQueue $paths = null)
 {
     $config['grid'] = array('option' => 'com_copymodules', 'view_name' => 'module', 'view_item' => 'module', 'view_list' => 'modules', 'order_column' => 'module.catid, module.ordering', 'order_table_id' => 'moduleList', 'ignore_access' => true, 'field' => array('state' => 'published'));
     // Directly use php engine
     $this->engine = new PhpEngine();
     parent::__construct($model, $container, $config, $paths);
 }