コード例 #1
0
ファイル: imagelist.php プロジェクト: atikahmed/joomla-probid
<?php

/**
 * @package     Joomla.Platform
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */
defined('JPATH_PLATFORM') or die;
RokCommon_Form_Helper::loadFieldClass('filelist');
/**
 * Supports an HTML select list of image
 *
 * @package     Joomla.Platform
 * @subpackage  Form
 * @since       11.1
 */
class JFormFieldImageList extends JFormFieldFileList
{
    /**
     * The form field type.
     *
     * @var    string
     * @since  11.1
     */
    public $type = 'ImageList';
    /**
     * Method to get the list of images field options.
     * Use the filter attribute to specify allowable file extensions.
     *
コード例 #2
0
<?php

/**
 * @package     Joomla.Platform
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */
defined('JPATH_PLATFORM') or die;
RokCommon_Form_Helper::loadFieldClass('groupedlist');
/**
 * Form Field class for the Joomla Platform.
 * Supports a select grouped list of template styles
 *
 * @package     Joomla.Platform
 * @subpackage  Form
 * @since       11.1
 */
class JFormFieldTemplateStyle extends JFormFieldGroupedList
{
    /**
     * The form field type.
     *
     * @var    string
     * @since  11.1
     */
    public $type = 'TemplateStyle';
    /**
     * Method to get the list of template style options
     * grouped by template.
コード例 #3
0
ファイル: url.php プロジェクト: atikahmed/joomla-probid
<?php

/**
 * @package     Joomla.Platform
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */
defined('JPATH_PLATFORM') or die;
RokCommon_Form_Helper::loadFieldClass('text');
/**
 * Form Field class for the Joomla Platform.
 * Supports a URL text field
 *
 * @package     Joomla.Platform
 * @subpackage  Form
 * @link        http://www.w3.org/TR/html-markup/input.url.html#input.url
 * @see         JFormRuleUrl for validation of full urls
 * @since       11.1
 */
class JFormFieldUrl extends JFormFieldText
{
    /**
     * The form field type.
     *
     * @var    string
     * @since  11.1
     */
    protected $type = 'Url';
}
コード例 #4
0
ファイル: Form.php プロジェクト: atikahmed/joomla-probid
 /**
  * Proxy for RokCommon_Form_Helper::addRulePath().
  *
  * @param   mixed  $new  A path or array of paths to add.
  *
  * @return  array  The list of paths that have been added.
  *
  * @see     RokCommon_Form_Helper::addRulePath()
  * @since   11.1
  */
 public static function addRulePath($new = null)
 {
     return RokCommon_Form_Helper::addRulePath($new);
 }