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 Text

Input de type Text

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

Direct known subclasses

Pry\Form\Element\AutoCompleter, Pry\Form\Element\Colorpicker, Pry\Form\Element\Date, Pry\Form\Element\Email, Pry\Form\Element\Ip, Pry\Form\Element\Mac, Pry\Form\Element\NumericStepper, Pry\Form\Element\Password

Indirect known subclasses

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

Constructeur

Constructeur

Parameters

$nom
string
$nom
$form
Form_Form
$form

Overrides

Pry\Form\Input::__construct()
public Form_Element_Text
# minLength( integer $taille )

Défini une taille minimal pour le contenu

Défini une taille minimal pour le contenu

Parameters

$taille
integer
$taille

Returns

Form_Element_Text
public boolean
# isValid( string $value )

Vérifie que la valeur est valide

Vérifie que la valeur est valide

Parameters

$value
string
$value

Returns

boolean

Overrides

Pry\Form\Field::isValid()
public string
# __toString( )

Ecris l'élément avec toutes ses options

Ecris l'élément avec toutes ses options

Returns

string
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 integer $minLength
#

Taille minimal

Taille minimal

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