コード例 #1
0
ファイル: tag.php プロジェクト: GitIPFire/Homeworks
	/**
	 * Constructor
	 *
	 * @since  3.1
	 */
	public function __construct()
	{
		parent::__construct();

		// Load com_tags config
		$this->comParams = JComponentHelper::getParams('com_tags');
	}
コード例 #2
0
ファイル: selext.php プロジェクト: MOYA8564/oziogallery2
 public function __construct($form = null)
 {
     parent::__construct($form);
     $this->com_name = basename(realpath(dirname(__FILE__) . "/../.."));
     $this->ext_name = substr($this->com_name, 4);
     $this->document = JFactory::getDocument();
     if (!isset($GLOBALS[$this->ext_name . "_fields_js_loaded"])) {
         $this->document->addStyleSheet(JUri::base(true) . '/components/' . $this->com_name . "/models/fields/fields.css");
         $GLOBALS[$this->ext_name . "_fields_js_loaded"] = true;
     }
 }
コード例 #3
0
 public function __construct($form = null)
 {
     parent::__construct($form);
     require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'classes' . DIRECTORY_SEPARATOR . 'param.php';
     $idTemplate = JRequest::getInt('id', 0);
     $paramT = AvatarParam::template($idTemplate);
     if (isset($paramT->google_font_api_key)) {
         $this->_apiKey = $paramT->google_font_api_key;
     }
     //$this->getGoogleFont();
 }
コード例 #4
0
ファイル: selext.php プロジェクト: grlf/eyedock
 public function __construct($form = null)
 {
     parent::__construct($form);
     static $resources = true;
     if ($resources) {
         $resources = false;
         $this->com_name = basename(realpath(dirname(__FILE__) . "/../.."));
         $this->document = JFactory::getDocument();
         $type = strtolower($this->type);
         if (file_exists(JPATH_ADMINISTRATOR . "/components/" . $this->com_name . "/js/" . $type . ".js")) {
             $this->document->addScript(JUri::base(true) . "/components/" . $this->com_name . "/js/" . $type . ".js");
         }
         if (file_exists(JPATH_ADMINISTRATOR . "/components/" . $this->com_name . "/css/" . $type . ".css")) {
             $this->document->addStyleSheet(JUri::base(true) . "/components/" . $this->com_name . "/css/" . $type . ".css");
         }
     }
 }
コード例 #5
0
 public function __construct($form = null)
 {
     parent::__construct($form);
     JFactory::getDocument()->addScriptDeclaration("jQuery(document).ready(function(){" . "jQuery('a.removeline').click(function(){" . "jQuery(this).closest('tr').remove();" . "})" . "});");
 }
コード例 #6
0
 public function __construct($form = null)
 {
     parent::__construct($form);
     $this->container = RokCommon_Service::getContainer();
 }
コード例 #7
0
ファイル: folder.php プロジェクト: sansandeep143/av
 public function __construct($form = null)
 {
     include_once JPATH_BASE . '/components/com_eventgallery/version.php';
     JLoader::registerPrefix('Eventgallery', JPATH_SITE . '/components/com_eventgallery');
     parent::__construct();
 }
コード例 #8
0
 public function __construct($form = null)
 {
     parent::__construct($form);
 }