Exemplo n.º 1
0
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerTask('apply', 'save');
     $this->registerTask('add', 'edit');
     $default_url = 'index.php?option=' . $this->get('option');
     $view = JRequest::getVar('view', '');
     if ($view) {
         $default_url .= '&view=' . $view;
     }
     $this->set('default_url', $default_url);
 }
Exemplo n.º 2
0
 public function __construct($config = array())
 {
     parent::__construct($config);
 }