domci : Update CI PHP docs
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3457 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
13
form.php
13
form.php
@@ -80,7 +80,9 @@ class form
|
||||
}
|
||||
|
||||
/** Add a field to the form. For the details of a field, see the description
|
||||
* in fields method */
|
||||
* in fields method
|
||||
* @param object $field The field to add
|
||||
*/
|
||||
public function addfield ($field)
|
||||
{
|
||||
$this->fields[] = $field;
|
||||
@@ -255,6 +257,9 @@ class form
|
||||
|
||||
/** Check if the parameters are correct with the defined fields
|
||||
* Need the session !
|
||||
* @param array $values The values to check
|
||||
* @param array|null $fields The fields definition (or use the session
|
||||
* stored one if the value is null)
|
||||
* @return array containing the errors
|
||||
*/
|
||||
public function verify ($values, $fields=array ())
|
||||
@@ -334,9 +339,9 @@ class form
|
||||
* If the provided string is not corresponding to the format, don't change
|
||||
* anything.
|
||||
* Format used http://php.net/manual/en/datetime.createfromformat.php
|
||||
* @param string $inputDate
|
||||
* @param string $inputFormat
|
||||
* @param string $outputFormat
|
||||
* @param string $inputDate The date to modify
|
||||
* @param string $inputFormat The input format of the date
|
||||
* @param string $outputFormat The output format of the date
|
||||
* @return string
|
||||
*/
|
||||
public function convertDate ($inputDate, $inputFormat, $outputFormat)
|
||||
|
||||
Reference in New Issue
Block a user