Moodle  2.2.1
http://www.collinsharper.com
MoodleQuickForm_url Class Reference
Inheritance diagram for MoodleQuickForm_url:
Collaboration diagram for MoodleQuickForm_url:

Public Member Functions

 MoodleQuickForm_url ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
 setHiddenLabel ($hiddenLabel)
 toHtml ()
 setHelpButton ($helpbuttonargs, $function='helpbutton')
 getHelpButton ()
 getElementTemplateType ()

Data Fields

 $_helpbutton = ''
 $_hiddenLabel = false

Detailed Description

HTML class for a url type element

Author:
Jamie Pratt public

Definition at line 10 of file url.php.


Member Function Documentation

Slightly different container template when frozen. Don't want to use a label tag with a for attribute in that case for the element label but instead use a div. Templates are defined in renderer constructor.

Returns:
string

Definition at line 110 of file url.php.

get html for help button

public

Returns:
string html for help button

Definition at line 100 of file url.php.

MoodleQuickForm_url ( elementName = null,
elementLabel = null,
attributes = null,
options = null 
)

Definition at line 19 of file url.php.

Here is the call graph for this function:

setHelpButton ( helpbuttonargs,
function = 'helpbutton' 
)

set html for help button

public

Parameters:
array$helparray of arguments to make a help button
string$functionfunction name to call to get html

Definition at line 91 of file url.php.

Here is the call graph for this function:

setHiddenLabel ( hiddenLabel)

Definition at line 32 of file url.php.

toHtml ( )

Returns the input field in HTML

Since:
1.0 public
Returns:
string

Reimplemented from HTML_QuickForm_input.

Definition at line 35 of file url.php.

Here is the call graph for this function:


Field Documentation

$_helpbutton = ''

Definition at line 16 of file url.php.

$_hiddenLabel = false

Definition at line 17 of file url.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations