[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> THiddenField.php (sommaire)

THiddenField class file.

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2004-2005, Qiang Xue
License: http://www.opensource.org/licenses/bsd-license.php BSD License
Version: $Id: THiddenField.php 1397 2006-09-07 07:55:53Z wei $
Poids: 161 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

THiddenField:: (12 méthodes):
  getTagName()
  focus()
  render()
  loadPostData()
  getValidationPropertyValue()
  raisePostDataChangedEvent()
  onValueChanged()
  getValue()
  setValue()
  getEnableTheming()
  setEnableTheming()
  setSkinID()


Classe: THiddenField  - X-Ref

THiddenField class

THiddenField displays a hidden input field on a Web page.
The value of the input field can be accessed via {@link getValue Value} property.
If upon postback the value is changed, a {@link onValueChanged OnValueChanged}
event will be raised.

getTagName()   X-Ref

return: string tag name of the hidden field.

focus()   X-Ref
Sets focus to this control.
This method overrides the parent implementation by forbidding setting focus to this control.


render($writer)   X-Ref
Renders the control.
This method overrides the parent implementation by rendering
the hidden field input element.

param: THtmlWriter the writer used for the rendering purpose

loadPostData($key,$values)   X-Ref
Loads hidden field data.
This method is primarly used by framework developers.

param: string the key that can be used to retrieve data from the input data collection
param: array the input data collection
return: boolean whether the data of the component has been changed

getValidationPropertyValue()   X-Ref
Returns the value to be validated.
This methid is required by IValidatable interface.

return: mixed the value of the property to be validated.

raisePostDataChangedEvent()   X-Ref
Raises postdata changed event.
This method calls {@link onValueChanged} method.
This method is primarly used by framework developers.


onValueChanged($param)   X-Ref
This method is invoked when the value of the {@link getValue Value} property changes between posts to the server.
The method raises 'OnValueChanged' event to fire up the event delegates.
If you override this method, be sure to call the parent implementation
so that the attached event handlers can be invoked.

param: TEventParameter event parameter to be passed to the event handlers

getValue()   X-Ref

return: string the value of the THiddenField

setValue($value)   X-Ref
Sets the value of the THiddenField

param: string the value to be set

getEnableTheming()   X-Ref

return: boolean whether theming is enabled for this control. Defaults to false.

setEnableTheming($value)   X-Ref

param: boolean whether theming is enabled for this control.

setSkinID($value)   X-Ref

param: string Skin ID



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7