Class Xyster_Form_Binder

Description

A data binder for form elements

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • license: New BSD License

Located in /Form/Binder.php (line 32)

Xyster_Data_Binder
   |
   --Xyster_Form_Binder
Method Summary
Xyster_Form_Binder __construct ( $form)
void bindEntity ( $entity)
void set (object $target, string $field, mixed $value)
Methods
Constructor __construct (line 39)

Creates a new form binder

  • access: public
Xyster_Form_Binder __construct ( $form)
  • Zend_Form $form: The form to bind element values
bindEntity (line 50)

Binds an entity's values to a form

  • access: public
void bindEntity ( $entity)
  • Xyster_Orm_Entity $entity
set (line 62)

Sets the value in the target

  • access: public
void set (object $target, string $field, mixed $value)
  • object $target: An object
  • string $field: The name of the field to set
  • mixed $value: The value to set

Documentation generated on Mon, 19 May 2008 17:08:14 -0400 by phpDocumentor 1.4.2