Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/AliastagField.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@

use Joomla\CMS\Factory;
use Joomla\CMS\Filesystem\Path;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\Language\Text;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Framework.
*
* @since 2.5.0
*/
class AliastagField extends \JFormFieldList
class AliastagField extends ListField
{
/**
* The field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/AuthorField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,13 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('list');

/**
* Form Field to load a list of content authors
*
* @since 3.2
*/
class AuthorField extends \JFormFieldList
class AuthorField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/CachehandlerField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,17 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Cache\Cache;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Platform.
* Provides a list of available cache handlers
*
* @see JCache
* @since 1.7.0
*/
class CachehandlerField extends \JFormFieldList
class CachehandlerField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/CategoryField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,17 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Log\Log;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Platform.
* Supports an HTML select list of categories
*
* @since 1.6
*/
class CategoryField extends \JFormFieldList
class CategoryField extends ListField
{
/**
* The form field type.
Expand Down
6 changes: 1 addition & 5 deletions libraries/src/Form/Field/CheckboxesField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Platform.
* Displays options as a list of checkboxes.
Expand All @@ -22,7 +18,7 @@
* @see CheckboxesField
* @since 1.7.0
*/
class CheckboxesField extends \JFormFieldList
class CheckboxesField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/ChromestyleField.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,15 @@
use Joomla\CMS\Application\ApplicationHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\Form;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

FormHelper::loadFieldClass('groupedlist');

/**
* Chrome Styles field.
*
* @since 3.0
*/
class ChromestyleField extends \JFormFieldGroupedList
class ChromestyleField extends GroupedlistField
{
/**
* The form field type.
Expand Down
6 changes: 1 addition & 5 deletions libraries/src/Form/Field/ComboField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Platform.
* Implements a combo box field.
*
* @since 1.7.0
*/
class ComboField extends \JFormFieldList
class ComboField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/ComponentsField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,15 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\Language\Text;
use Joomla\Utilities\ArrayHelper;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Framework.
*
* @since 3.7.0
*/
class ComponentsField extends \JFormFieldList
class ComponentsField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/ContentlanguageField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;

FormHelper::loadFieldClass('list');

/**
* Provides a list of content languages
*
* @see JFormFieldLanguage for a select list of application languages.
* @since 1.6
*/
class ContentlanguageField extends \JFormFieldList
class ContentlanguageField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/ContenttypeField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\Language\Text;

FormHelper::loadFieldClass('list');

/**
* Content Type field.
*
* @since 3.1
*/
class ContenttypeField extends \JFormFieldList
class ContenttypeField extends ListField
{
/**
* A flexible tag list that respects access controls
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/DatabaseconnectionField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\Language\Text;
use Joomla\Database\DatabaseDriver;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Platform.
* Provides a list of available database connections, optionally limiting to
Expand All @@ -24,7 +21,7 @@
* @see DatabaseDriver
* @since 1.7.3
*/
class DatabaseconnectionField extends \JFormFieldList
class DatabaseconnectionField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/EditorField.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@

use Joomla\CMS\Editor\Editor;
use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('textarea');

/**
* A textarea field for content creation
*
* @see JEditor
* @since 1.6
*/
class EditorField extends \JFormFieldTextarea
class EditorField extends TextareaField
{
/**
* The form field type.
Expand Down
6 changes: 1 addition & 5 deletions libraries/src/Form/Field/EmailField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('text');

/**
* Form Field class for the Joomla Platform.
* Provides and input field for email addresses
Expand All @@ -22,7 +18,7 @@
* @see JFormRuleEmail
* @since 1.7.0
*/
class EmailField extends \JFormFieldText
class EmailField extends TextField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/FilelistField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,18 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Filesystem\File;
use Joomla\Filesystem\Folder;
use Joomla\Filesystem\Path;

FormHelper::loadFieldClass('list');

/**
* Supports an HTML select list of files
*
* @since 1.7.0
*/
class FilelistField extends \JFormFieldList
class FilelistField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/FolderlistField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\Filesystem\Folder;
use Joomla\Filesystem\Path;

FormHelper::loadFieldClass('list');

/**
* Supports an HTML select list of folder
*
* @since 1.7.0
*/
class FolderlistField extends \JFormFieldList
class FolderlistField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/FrontendlanguageField.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('list');

/**
* Provides a list of published content languages with home pages
*
* @see JFormFieldLanguage for a select list of application languages.
* @since 3.5
*/
class FrontendlanguageField extends \JFormFieldList
class FrontendlanguageField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/HeadertagField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla! CMS.
*
* @since 3.0
*/
class HeadertagField extends \JFormFieldList
class HeadertagField extends ListField
{
/**
* The form field type.
Expand Down
5 changes: 1 addition & 4 deletions libraries/src/Form/Field/HelpsiteField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\Help\Help;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

FormHelper::loadFieldClass('list');

/**
* Form Field class for the Joomla Platform.
* Provides a select list of help sites.
*
* @since 1.6
*/
class HelpsiteField extends \JFormFieldList
class HelpsiteField extends ListField
{
/**
* The form field type.
Expand Down
6 changes: 1 addition & 5 deletions libraries/src/Form/Field/ImagelistField.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Form\FormHelper;

FormHelper::loadFieldClass('filelist');

/**
* Supports an HTML select list of image
*
* @since 1.7.0
*/
class ImagelistField extends \JFormFieldFileList
class ImagelistField extends FilelistField
{
/**
* The form field type.
Expand Down
Loading