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_Checkbox

Elément checkbox

Form_Field
Extended by Form_Input
Extended by Form_Element_Checkbox
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
$form
Form_Form
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

Returns

Form_Element_Checkbox
public ustring
# __toString( )

Ecrit l'objet

Ecrit l'objet

Returns

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