xHTML-o-MATIC
A mini framework for handling PHP web frontends.
Loading...
Searching...
No Matches
xHTML_Input Class Reference
+ Inheritance diagram for xHTML_Input:
+ Collaboration diagram for xHTML_Input:

Public Member Functions

 __construct ($parent)
 
 SetValue ($text)
 
 SetProperty ($name, $value)
 
 AddCSSClass ($classname)
 
- Public Member Functions inherited from xHTML_Item
 GetID ()
 
 SetID ($id)
 
 Render ()
 
 ToString ()
 
 GetParent ()
 
 ClearContent ()
 
 SetIDVisibility ($visible)
 

Protected Attributes

 $parentForm
 
- Protected Attributes inherited from xHTML_Item
 $uniqid
 
 $tagname
 
 $contents
 
 $properties
 
 $autoclosed
 
 $bbenabled
 
 $parent
 

Additional Inherited Members

- Protected Member Functions inherited from xHTML_Item
 ClearProperty ($name)
 
 ReplaceContent ($content)
 
 AddContent ($content)
 
 CompactText ($text)
 
 AddContentBefore ($newContent)
 
 AddContentAfter ($newContent)
 

Constructor & Destructor Documentation

◆ __construct()

xHTML_Input::__construct (   $parent)

Default constructor

Reimplemented from xHTML_Item.

Reimplemented in xHTML_InputText, xHTML_InputPassword, and xHTML_InputSendButton.

Member Function Documentation

◆ AddCSSClass()

xHTML_Input::AddCSSClass (   $classname)

Adds a CSS class to this object

Parameters
string$classnameCSS class name

Reimplemented from xHTML_Item.

◆ SetProperty()

xHTML_Input::SetProperty (   $name,
  $value 
)

Sets property

Parameters
string$name
string$value

Reimplemented from xHTML_Item.

◆ SetValue()

xHTML_Input::SetValue (   $text)

Sets value for input

Parameters
string$textText

The documentation for this class was generated from the following file: