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); }
public function __construct($config = array()) { parent::__construct($config); }