Overview

Packages

  • None
  • Sesha

Classes

  • Horde_Core_UI_VarRenderer_Stockedit_Html
  • Sesha
  • Sesha_Api
  • Sesha_Driver
  • Sesha_Driver_Sql
  • Sesha_Exception
  • Sesha_Forms_Category
  • Sesha_Forms_CategoryDelete
  • Sesha_Forms_CategoryList
  • Sesha_Forms_Property
  • Sesha_Forms_PropertyDelete
  • Sesha_Forms_PropertyList
  • Sesha_Forms_Search
  • Sesha_Forms_Stock
  • Sesha_Forms_Type_Client
  • Overview
  • Package
  • Class
  • Tree

Class Sesha_Forms_Property

Copyright 2004-2012 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.php.

Horde_Form
Extended by Sesha_Forms_Property
Package: Sesha
Author: Bo Daley bo@darkwork.net
Located at Forms/Property.php
Methods summary
public
# __construct( mixed $vars )
public boolean
# validate( Variables $vars, boolean $canAutoFill = false )

Validates the form, checking if it really has been submitted by calling isSubmitted() and if true does any onSubmit() calls for variable types in the form. The _submitted variable is then rechecked.

Validates the form, checking if it really has been submitted by calling isSubmitted() and if true does any onSubmit() calls for variable types in the form. The _submitted variable is then rechecked.

Parameters

$vars
<p>A Variables instance, optional since Horde 3.2.</p>
$canAutoFill
<p>Can the form be valid without being submitted?</p>

Returns

boolean
True if the form is valid.
public
# renderActive( Horde_Form_Renderer $renderer, Variables $vars, string $action, string $method = 'get', string $enctype = null, boolean $focus = true )

Renders the form for editing.

Renders the form for editing.

Parameters

$renderer
<p>A renderer instance, optional since Horde 3.2.</p>
$vars
<p>A Variables instance, optional since Horde 3.2.</p>
$action
The form action (url).
$method
<p>The form method, usually either 'get' or 'post'.</p>
$enctype
<p>The form encoding type. Determined automatically if null.</p>
$focus
Focus the first form field?
API documentation generated by ApiGen