当前位置: 首页>>代码示例>>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;未经允许,请勿转载。