本文整理汇总了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');
}
示例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;
}
}
示例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();
}
示例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");
}
}
}
示例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();" . "})" . "});");
}
示例6: __construct
public function __construct($form = null)
{
parent::__construct($form);
$this->container = RokCommon_Service::getContainer();
}
示例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();
}
示例8: __construct
public function __construct($form = null)
{
parent::__construct($form);
}