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_Multi

Représentation des élément a choix multiple (select, radio)

Form_Field
Extended by Form_Element_Multi

Direct known subclasses

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

Constructeur

Constructeur

Parameters

$nom
string
$form
Form_Form
public Form_Element_Multi
# choices( array $choix )

Enregistre les choix possibles

Enregistre les choix possibles

Parameters

$choix
array
La clé = valeur html du code html , la valeur = valeur afficher à l'utilisateur

Returns

Form_Element_Multi
public
# setAttributes( string $nom, string $valeur )

Défini un attribut de l'élément

Défini un attribut de l'élément

Parameters

$nom
string
$valeur
string
Methods inherited from Form_Field
__toString(), addClass(), addValidator(), attrsToString(), cssClass(), disabled(), getName(), getValue(), id(), info(), isValid(), label(), maxlength(), newLine(), readonly(), required(), sanitizedValue(), setErrorClass(), setImgInfo(), value()
Properties summary
protected array $choix
#

Liste des choix possible

Liste des choix possible

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