Overview

Packages

  • Auth
  • Config
  • Controller
  • Date
  • Db
  • Feed
    • Abstract
    • Writers
  • File
    • Decorator
  • Form
    • Element
  • Image
  • Log
    • Writer
  • Net
    • Exception
  • None
  • PHP
  • PHPMailer
  • Session
  • Util
  • Validate
    • Validator
  • Zend
    • Registry

Classes

  • Form_Element_AutoCompleter
  • Form_Element_Checkbox
  • Form_Element_Colorpicker
  • Form_Element_Date
  • Form_Element_DatePicker
  • Form_Element_Email
  • Form_Element_File
  • Form_Element_Hidden
  • Form_Element_Html
  • Form_Element_Ip
  • Form_Element_Mac
  • Form_Element_Multi
  • Form_Element_NumericStepper
  • Form_Element_Password
  • Form_Element_Radio
  • Form_Element_Select
  • Form_Element_Slider
  • Form_Element_Submit
  • Form_Element_Text
  • Form_Element_Textarea
  • Overview
  • Package
  • Class
  • Tree

Class Form_Element_DatePicker

Element DatePicker. Champs date avec selection JS de la date. Requiert l'inclusion de datepicker.js, prototype.js et prototype-date-extensions.js

Form_Field
Extended by Form_Input
Extended by Form_Element_Text
Extended by Form_Element_Date
Extended by Form_Element_DatePicker
Package: Form\Element
Category: Pry
Author: Olivier ROGER <oroger.fr>
Version: 1.5.0
Located at Form/Element/DatePicker.class.php
Methods summary
public
# __construct( string $nom, Form_Form $form )

Constructeur. Par défaut pub/struct/picto/clock.png et pas de séléction de l'heure

Constructeur. Par défaut pub/struct/picto/clock.png et pas de séléction de l'heure

Parameters

$nom
string
$form
Form_Form
public Form_Element_DatePicker
# icon( string $icon )

Défini l'icone illustrant la date

Défini l'icone illustrant la date

Parameters

$icon
string
Chemin vers l'icone

Returns

Form_Element_DatePicker
public
# setTimepicker( $bool )
public string
# __toString( )

Ecriture de l'objet

Ecriture de l'objet

Returns

string
Methods inherited from Form_Element_Date
format(), isValid()
Methods inherited from Form_Element_Text
minLength()
Methods inherited from Form_Input
setAttributes()
Methods inherited from Form_Field
addClass(), addValidator(), attrsToString(), cssClass(), disabled(), getName(), getValue(), id(), info(), label(), maxlength(), newLine(), readonly(), required(), sanitizedValue(), setErrorClass(), setImgInfo(), value()
Properties inherited from Form_Element_Date
$format
Properties inherited from Form_Element_Text
$minLength
Properties inherited from Form_Field
$attrs, $class, $cssLabel, $errorClass, $errorMsg, $fieldNewLine, $form, $imgInfo, $info, $label, $labelNewLine, $required, $validator, $value
Pry Framework API documentation generated by ApiGen 2.6.1