PATH:
home
/
sparklp6
/
public_html
/
sparklerfilters-org
/
administrator
/
components
/
com_jce
/
models
/
fields
<?php defined('JPATH_PLATFORM') or die; JFormHelper::loadFieldClass('list'); class JFormFieldPopups extends JFormFieldList { /** * The form field type. * * @var string * * @since 11.1 */ protected $type = 'Popups'; /** * Method to get a list of options for a list input. * * @return array An array of JHtml options * * @since 11.4 */ protected function getOptions() { $extensions = JcePluginsHelper::getExtensions('popups'); $options = array(); foreach ($extensions as $item) { $option = new StdClass; $option->text = JText::_($item->title, true); $option->disable = ''; $option->value = $item->name; $options[] = $option; } // Merge any additional options in the XML definition. return array_merge(parent::getOptions(), $options); } }
[-] yesno.php
[edit]
[-] plugin.php
[edit]
[-] customlist.php
[edit]
[-] extension.php
[edit]
[-] color.php
[edit]
[-] popups.php
[edit]
[-] filesystem.php
[edit]
[-] heading.php
[edit]
[-] buttons.php
[edit]
[-] profileordering.php
[edit]
[-] elementlist.php
[edit]
[-] users.php
[edit]
[-] repeatable.php
[edit]
[-] components.php
[edit]
[-] filetype.php
[edit]
[-] searchplugins.php
[edit]
[-] blockformats.php
[edit]
[-] uploadmaxsize.php
[edit]
[-] fontlist.php
[edit]
[-] styleformat.php
[edit]
[+]
..
[-] fonts.php
[edit]