コード例 #1
0
ファイル: default.php プロジェクト: raeldc/com_learn
    public function getCommands()
    {
        $this->setTitle('Cache Manager')
		     ->addPurge();
		     
        return parent::getCommands();
    }
コード例 #2
0
ファイル: template.php プロジェクト: raeldc/com_learn
    public function getCommands()
    {
        $this->addSeparator()
             ->addPreview();

        return parent::getCommands();
    }
コード例 #3
0
ファイル: plugins.php プロジェクト: raeldc/com_learn
    public function getCommands()
    {
        $this->addCommand('enable')
	    	 ->addCommand('disable');
	    	 
	    return parent::getCommands();
    }
コード例 #4
0
ファイル: modules.php プロジェクト: raeldc/com_learn
    public function getCommands()
    {
        $this->addSeparator()
			 ->addEnable()
			 ->addDisable();
        
        return parent::getCommands();
    }
コード例 #5
0
ファイル: users.php プロジェクト: raeldc/nooku-server
 public function getCommands()
 {
     $this->addSeparator()->addEnable()->addDisable()->addSeparator();
     if ($this->getController()->canLogout()) {
         $this->addLogout();
     }
     return parent::getCommands();
 }
コード例 #6
0
ファイル: settings.php プロジェクト: raeldc/com_learn
    public function getCommands()
    {
        $this->addSave()
			 ->addApply()
			 ->addCancel(array('attribs' => array('data-novalidate' => 'novalidate')));
			 
        return parent::getCommands();
    }
コード例 #7
0
ファイル: sections.php プロジェクト: raeldc/com_learn
    public function getCommands()
    {
        $this->addSeparator()     
			 ->addEnable(array('label' => 'publish'))
			 ->addDisable(array('label' => 'unpublish'));
			 
        return parent::getCommands();
    }
コード例 #8
0
ファイル: articles.php プロジェクト: kedweber/com_articles
 public function getCommands()
 {
     $this->addSeparator()->addCopy()->addIndex()->addSeparator();
     if (JFactory::getUser()->authorise('core.admin')) {
         $this->addCheckin();
     }
     return parent::getCommands();
 }
コード例 #9
0
 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();
 }
コード例 #10
0
ファイル: weblinks.php プロジェクト: raeldc/nooku-server
 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();
 }
コード例 #11
0
ファイル: default.php プロジェクト: ravenlife/Portfolio
 public function getCommands()
 {
     $this->addPreferences();
     return parent::getCommands();
 }
コード例 #12
0
ファイル: days.php プロジェクト: kedweber/event-manager
 public function getCommands()
 {
     $this->addCommand('refresh', array('icon' => 'icon-32-download', 'is_allowed' => true, 'attribs' => array('data-novalidate' => 'novalidate')));
     return parent::getCommands();
 }
コード例 #13
0
 public function getCommands()
 {
     $this->addDefault();
     return parent::getCommands();
 }
コード例 #14
0
 public function getCommands()
 {
     $this->reset()->addDelete();
     return parent::getCommands();
 }
コード例 #15
0
ファイル: portals.php プロジェクト: kedweber/com_portals
 public function getCommands()
 {
     $this->addIndex();
     return parent::getCommands();
 }