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 Ip

Element IP. Permet de valider une adresse IP dans un champs text

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

Constructeur. Défini la taille mini et maxi de l'ip

Constructeur. Défini la taille mini et maxi de l'ip

Parameters

$nom
string
$nom
$form
Form_Form
$form

Overrides

Pry\Form\Element\Text::__construct()
public boolean
# isValid( string $value )

Validation de l'adresse IP

Validation de l'adresse IP

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