Overview

Namespaces

  • None
  • PHP
  • Pry
    • Auth
      • Interfaces
    • Config
    • Controller
    • Date
    • Db
    • Feed
      • Abstracts
      • Writers
    • File
      • Decorator
    • Form
      • Element
    • Image
    • Log
      • Writer
    • Net
      • Exception
    • Session
    • Util
    • Validate
      • Validator
    • View

Classes

  • AutoCompleter
  • Checkbox
  • Colorpicker
  • Date
  • DatePicker
  • Email
  • File
  • Hidden
  • Html
  • Ip
  • Mac
  • Multi
  • NumericStepper
  • Password
  • Radio
  • Select
  • Slider
  • Submit
  • Text
  • Textarea
  • Overview
  • Namespace
  • Class
  • Tree

Class Date

Element date. Permet de valider différent type de date dans un champs text

Pry\Form\Field
Extended by Pry\Form\Input
Extended by Pry\Form\Element\Text
Extended by Pry\Form\Element\Date

Direct known subclasses

Pry\Form\Element\DatePicker
Namespace: Pry\Form\Element
Package: Form\Element
Category: Pry
Author: Olivier ROGER <oroger.fr>
Version: 1.1.0
Located at Form/Element/Date.class.php
Methods summary
public
# __construct( string $nom, Form_Form $form )

Constructeur. Par défaut format fr

Constructeur. Par défaut format fr

Parameters

$nom
string
$nom
$form
Form_Form
$form

Overrides

Pry\Form\Element\Text::__construct()
public Form_Element_Date
# format( string $format )

Défini le format de date

Défini le format de date

Parameters

$format
string
$format

Returns

Form_Element_Date
public boolean
# isValid( string $value )

Validation du contenu

Validation du contenu

Parameters

$value
string
$value

Returns

boolean

Overrides

Pry\Form\Element\Text::isValid()
Methods inherited from Pry\Form\Element\Text
__toString(), minLength()
Methods inherited from Pry\Form\Input
setAttributes()
Methods inherited from Pry\Form\Field
addClass(), addValidator(), attrsToString(), cssClass(), disabled(), getName(), getValue(), id(), info(), label(), maxlength(), newLine(), readonly(), required(), sanitizedValue(), setErrorClass(), setImgInfo(), value()
Properties summary
protected string $format
#

Format de date

Format de date

Properties inherited from Pry\Form\Element\Text
$minLength
Properties inherited from Pry\Form\Field
$attrs, $class, $cssLabel, $errorClass, $errorMsg, $fieldNewLine, $form, $imgInfo, $info, $label, $labelNewLine, $required, $validator, $value
Pry API documentation generated by ApiGen 2.8.0