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

Class: HTML_QuickForm_LiveSearch_Select

Source Location: /HTML_QuickForm_Livesearch-0.4.1/HTML/QuickForm/livesearch_select.php

Class Overview

HTML_QuickForm_text
   |
   --HTML_QuickForm_LiveSearch_Select



Methods


Inherited Variables

Inherited Methods


Class Details

[line 29]


[ Top ]


Method Detail

HTML_QuickForm_LiveSearch_Select (Constructor)   [line 72]

void HTML_QuickForm_LiveSearch_Select( [string $elementName = null], [string $elementLabel = null], [array $options = null], [mixed $attributes = null])

Class constructor
  • Access: public

Parameters:

string   $elementName   —  (required)Input field name attribute
string   $elementLabel   —  (required)Input field label in form
array   $options   —  (optional)LiveSearch_Select options
mixed   $attributes   —  (optional)Either a typical HTML attribute string or an associative array. Date format is passed along the attributes.

[ Top ]

getFrozenHtml   [line 163]

string getFrozenHtml( )

Returns the value of field without HTML tags
  • Since: 1.0
  • Access: public

[ Top ]

getPrivateName   [line 89]

string getPrivateName( string $elementName)

Gets the private name for the element
  • Access: public

Parameters:

string   $elementName   —  The element name to make private

[ Top ]

getValue   [line 129]

void getValue( [mixed $internal = NULL])

Gets the element's value
  • Access: public

Parameters:

mixed   $internal   —  Element's value

[ Top ]

setOptions   [line 148]

void setOptions( array $options)

Sets the options for the LiveSearch_Select input text element
  • Access: public

Parameters:

array   $options   —  Array of options for the LiveSearch_Select input text element

[ Top ]

setValue   [line 102]

void setValue( mixed $value)

Sets the element's value
  • Access: public

Parameters:

mixed   $value   —  Element's value

[ Top ]

toHtml   [line 182]

string toHtml( )

Returns Html for the LiveSearch_Select input text element
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:48:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.