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:
2017-03-24 08:31:10 +00:00
parent 135ea40841
commit 9ffe45b072
2 changed files with 22 additions and 11 deletions

View File

@@ -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)