Example #1
0
    public function getCommands()
    {
        $this->addCommand('enable')
	    	 ->addCommand('disable');
	    	 
	    return parent::getCommands();
    }
Example #2
0
    public function getCommands()
    {
        $this->setTitle('Cache Manager')
		     ->addPurge();
		     
        return parent::getCommands();
    }
Example #3
0
    public function getCommands()
    {
        $this->addSeparator()
             ->addPreview();

        return parent::getCommands();
    }
Example #4
0
    public function getCommands()
    {
        $this->addSeparator()
			 ->addEnable()
			 ->addDisable();
        
        return parent::getCommands();
    }
Example #5
0
 public function getCommands()
 {
     $this->addSeparator()->addCopy()->addIndex()->addSeparator();
     if (JFactory::getUser()->authorise('core.admin')) {
         $this->addCheckin();
     }
     return parent::getCommands();
 }
Example #6
0
 public function getCommands()
 {
     $this->addSeparator()->addEnable()->addDisable()->addSeparator();
     if ($this->getController()->canLogout()) {
         $this->addLogout();
     }
     return parent::getCommands();
 }
Example #7
0
    public function getCommands()
    {
        $this->addSave()
			 ->addApply()
			 ->addCancel(array('attribs' => array('data-novalidate' => 'novalidate')));
			 
        return parent::getCommands();
    }
Example #8
0
    public function getCommands()
    {
        $this->addSeparator()     
			 ->addEnable(array('label' => 'publish'))
			 ->addDisable(array('label' => 'unpublish'));
			 
        return parent::getCommands();
    }
 public function getCommands()
 {
     $state = $this->getController()->getModel()->getState();
     if ($state->deleted != true) {
         $this->addSeparator()->addPublish()->addUnpublish()->addSeparator()->addArchive()->addUnarchive();
     } else {
         $this->reset()->addDelete()->addRestore();
     }
     return parent::getCommands();
 }
Example #10
0
 public function getCommands()
 {
     $this->addPreferences();
     return parent::getCommands();
 }
Example #11
0
 public function getCommands()
 {
     $this->addCommand('refresh', array('icon' => 'icon-32-download', 'is_allowed' => true, 'attribs' => array('data-novalidate' => 'novalidate')));
     return parent::getCommands();
 }
 public function getCommands()
 {
     $this->addDefault();
     return parent::getCommands();
 }
Example #13
0
 public function getCommands()
 {
     $this->reset()->addDelete();
     return parent::getCommands();
 }
Example #14
0
 public function __construct(KConfig $config = null)
 {
     parent::__construct($config);
     $this->setTitle(JText::_('Dashboard'));
 }
 protected function _initialize(KConfig $config)
 {
     $config->append(array('title' => 'EXTman'));
     parent::_initialize($config);
 }
Example #16
0
 public function getCommands()
 {
     $this->addSeparator()->addEnable()->addDisable()->addSeparator()->addModal(array('label' => 'Preferences', 'href' => 'index.php?option=com_config&controller=component&component=com_weblinks'));
     return parent::getCommands();
 }
Example #17
0
 public function getCommands()
 {
     $this->addIndex();
     return parent::getCommands();
 }