當前位置: 首頁>>代碼示例>>PHP>>正文


PHP JFormFieldList::__construct方法代碼示例

本文整理匯總了PHP中JFormFieldList::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP JFormFieldList::__construct方法的具體用法?PHP JFormFieldList::__construct怎麽用?PHP JFormFieldList::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在JFormFieldList的用法示例。


在下文中一共展示了JFormFieldList::__construct方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

	/**
	 * Constructor
	 *
	 * @since  3.1
	 */
	public function __construct()
	{
		parent::__construct();

		// Load com_tags config
		$this->comParams = JComponentHelper::getParams('com_tags');
	}
開發者ID:GitIPFire,項目名稱:Homeworks,代碼行數:12,代碼來源:tag.php

示例2: __construct

 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;
     }
 }
開發者ID:MOYA8564,項目名稱:oziogallery2,代碼行數:11,代碼來源:selext.php

示例3: __construct

 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();
 }
開發者ID:kenyonjohnston,項目名稱:hott_theater,代碼行數:11,代碼來源:avatargooglefont.php

示例4: __construct

 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");
         }
     }
 }
開發者ID:grlf,項目名稱:eyedock,代碼行數:17,代碼來源:selext.php

示例5: __construct

 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();" . "})" . "});");
 }
開發者ID:joshjim27,項目名稱:jobsglobal,代碼行數:5,代碼來源:listextendable.php

示例6: __construct

 public function __construct($form = null)
 {
     parent::__construct($form);
     $this->container = RokCommon_Service::getContainer();
 }
開發者ID:TeamCodeStudio,項目名稱:fpmoz,代碼行數:5,代碼來源:dynamicfields.php

示例7: __construct

 public function __construct($form = null)
 {
     include_once JPATH_BASE . '/components/com_eventgallery/version.php';
     JLoader::registerPrefix('Eventgallery', JPATH_SITE . '/components/com_eventgallery');
     parent::__construct();
 }
開發者ID:sansandeep143,項目名稱:av,代碼行數:6,代碼來源:folder.php

示例8: __construct

 public function __construct($form = null)
 {
     parent::__construct($form);
 }
開發者ID:harryklein,項目名稱:pkg_mosimage,代碼行數:4,代碼來源:mosimagelist.php


注:本文中的JFormFieldList::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。