During the development of components or modules for
Joomla, you will need to create fields of form. Joomla API proposes
functions which will facilitate the task to you.
Program of this first part:
Lists of integers
Lists of month
1) Lists of integers :
A - Syntax :
string integerSelectList (int $start, int $end, int $inc, string $tag_name, string $tag_attribs, mixed $selected [, string $format])
$start: it is the first integer of the list
$end: it is the last integer of the list
$inc: it is the step of incrementing between 2 integers of the list
$tag_name: corresponds to the value which will have the attribute name list
$tag_attribs: corresponds to the list of attributes you
want to associate to the list (example: size, class, OnClick, etc )
$selected: corresponds to the value selected by default
$format: the format of posting of the integers in the list defines
$tag_name: corresponds to the value which will have the attribute name list
$tag_attribs: corresponds to the list of attributes you want to associate to the list (example: size, class, OnClick, etc )
$selected: corresponds to the month selected by default
NeoJoomla is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.