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

Public Member Functions

 SimpleButtonTag ($attributes)
 expectEndTag ()
 setValue ($value)
 getLabel ()
 isLabel ($label)

Detailed Description

Definition at line 516 of file tag.php.


Member Function Documentation

Check to see if the tag can have both start and end tags with content in between.

Returns:
boolean True if content allowed. public

Reimplemented from SimpleTag.

Definition at line 534 of file tag.php.

getLabel ( )

Value of browser visible text.

Returns:
string Visible label. public

Definition at line 553 of file tag.php.

Here is the call graph for this function:

Here is the caller graph for this function:

isLabel ( label)

Test for a label match when searching.

Parameters:
string$labelLabel to test.
Returns:
boolean True on match. public

Reimplemented from SimpleWidget.

Definition at line 563 of file tag.php.

Here is the call graph for this function:

setValue ( value)

Disables the setting of the button value.

Parameters:
string$valueIgnored.
Returns:
boolean True if allowed. public

Reimplemented from SimpleWidget.

Definition at line 544 of file tag.php.

SimpleButtonTag ( attributes)

Starts with a named tag with attributes only. Defaults are very browser dependent.

Parameters:
hash$attributesAttribute names and string values.

Definition at line 524 of file tag.php.

Here is the call graph for this function:


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