Item
[ class tree: Item ] [ index: Item ] [ all elements ]

Class: Formagic_Item_PageSwitch

Source Location: /Item/PageSwitch.php

Class Overview

Formagic_Item
   |
   --Formagic_Item_Submit
      |
      --Formagic_Item_PageSwitch

Formagic page switch button class


Author(s):

  • Florian Sonnenburg

Version:

  • $Id: PageSwitch.php 11 2007-08-12 20:02:57Z meweasle $

Copyright:

  • Copyright (c) 2007 Florian Sonnenburg

Methods


Inherited Variables

Inherited Methods

Class: Formagic_Item_Submit

Formagic_Item_Submit::getHtml()
HTML string representation of submit button
Formagic_Item_Submit::getLabel()
Override parent::getLabel()
Formagic_Item_Submit::getValue()
Override paren::getValue()
Formagic_Item_Submit::hide()
Hiding submit buttons results in removing it from form
Formagic_Item_Submit::isTriggered()
Returns true if submit button was triggered to access current page
Formagic_Item_Submit::_onCreate()
Implementation of onCreate-handler

Class: Formagic_Item

Formagic_Item::__construct()
Constructor
Formagic_Item::addRule()
Adds rule object to Formagic item
Formagic_Item::block()
Sets blocked flag
Formagic_Item::disable()
Sets disabled flag for item and thus removes it from form
Formagic_Item::getCaller()
Returns parent Formagic object
Formagic_Item::getErrorMessage()
Returns item error message
Formagic_Item::getHtml()
HTML template for renderers that use HTML-Code
Formagic_Item::getLabel()
Returns label for this item.
Formagic_Item::getValue()
Returns current value for this item
Formagic_Item::hasRule()
Tells if rule exists for this item
Formagic_Item::isDisabled()
Returns disabled status of item
Formagic_Item::isHidden()
Returns hidden status of item
Formagic_Item::setAttributes()
Sets additional attributes for this item
Formagic_Item::setCaller()
Can be called to set caller object if not passed to constructor
Formagic_Item::setHidden()
Sets hidden flag for item
Formagic_Item::validate()
Performs rule checks
Formagic_Item::_execEvent()
Event dispatcher
Formagic_Item::_getAttributeStr()
Returns attribute string for HTML tag
Formagic_Item::_handleArg()
Handler for additional item arguments
Formagic_Item::_onCreate()
Executed when object is created
Formagic_Item::_onFetch()
Executed when Formagic::fetch() is called
Formagic_Item::_onPostValidate()
Executed after item validation is done
Formagic_Item::_onPreValidate()
Executed before item validation
Formagic_Item::__toString()
Returns string representation of formItem object

Class Details

[line 34]
Formagic page switch button class



Tags:

author:  Florian Sonnenburg
version:  $Id: PageSwitch.php 11 2007-08-12 20:02:57Z meweasle $
copyright:  Copyright (c) 2007 Florian Sonnenburg


[ Top ]


Class Methods


constructor __construct [line 44]

Formagic_Item_PageSwitch __construct( string $type, string $name, [ &$args = null], [ &$caller = null], array $args, object $caller)

Formagic_Item_PageSwitch::__construct()



Tags:

access:  public


Overrides Formagic_Item::__construct() (Constructor)

Parameters:

string   $type  
string   $name  
array   $args  
object   $caller  
   &$args  
   &$caller  

[ Top ]

method getValue [line 57]

string &getValue( )

Always return no value



Tags:

access:  public


Overrides Formagic_Item_Submit::getValue() (Override paren::getValue())

[ Top ]


Documentation generated on Thu, 23 Aug 2007 00:29:45 +0200 by phpDocumentor 1.4.0