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 Checkbox

Elément checkbox

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

Constructeur. Par défaut case non cochée

Constructeur. Par défaut case non cochée

Parameters

$nom
string
$nom
$form
Form_Form
$form

Overrides

Pry\Form\Input::__construct()
public Form_Element_Checkbox
# checked( boolean $bool = true )

Défini si la case est cochée ou non

Défini si la case est cochée ou non

Parameters

$bool
boolean
$bool

Returns

Form_Element_Checkbox
public ustring
# __toString( )

Ecrit l'objet

Ecrit l'objet

Returns

ustring
Methods inherited from Pry\Form\Input
setAttributes()
Methods inherited from Pry\Form\Field
addClass(), addValidator(), attrsToString(), cssClass(), disabled(), getName(), getValue(), id(), info(), isValid(), label(), maxlength(), newLine(), readonly(), required(), sanitizedValue(), setErrorClass(), setImgInfo(), value()
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