コード例 #1
0
ファイル: cpanel.php プロジェクト: raulrotundo/jpmoser_guide
 /**
  * Joom!Fish Controler for the Control Panel
  * @param array		configuration
  * @return joomfishTasker
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerTask('show', 'display');
     // ensure DB cache table is created and up to date
     JLoader::import('helpers.controllerHelper', JOOMFISH_ADMINPATH);
     JLoader::import('classes.JCacheStorageJFDB', JOOMFISH_ADMINPATH);
     JoomfishControllerHelper::checkDBCacheStructure();
 }
コード例 #2
0
ファイル: translate.php プロジェクト: kaantunc/MYK-BOR
 /**
  * presenting the translation dialog
  *
  */
 function showTranslate()
 {
     // If direct translation then close the modal window
     if (intval(JRequest::getVar("direct", 0))) {
         $this->modalClose();
         return;
     }
     JoomfishControllerHelper::_setupContentElementCache();
     if (!JoomfishControllerHelper::_testSystemBotState()) {
         echo "<div style='font-size:16px;font-weight:bold;color:red'>" . JText::_('MAMBOT_ERROR') . "</div>";
     }
     $this->showTranslationOverview($this->_select_language_id, $this->_catid);
 }
コード例 #3
0
ファイル: elements.php プロジェクト: JoomFish/joomfish-2.2
 /**
  * Shows the content element configuration overview
  * @return void
  */
 public function showCElementConfig()
 {
     $db = JFactory::getDBO();
     JoomfishControllerHelper::setupContentElementCache();
     $this->showElementOverview();
 }