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

Public Member Functions

 SimpleTextAreaTag ($attributes)
 getDefault ()
 setValue ($value)
 _wrapIsEnabled ()
 _wrap ($text)
 isPrivateContent ()

Detailed Description

Definition at line 573 of file tag.php.


Member Function Documentation

_wrap ( text)

Performs the formatting that is peculiar to this tag. There is strange behaviour in this one, including stripping a leading new line. Go figure. I am using Firefox as a guide.

Parameters:
string$textText to wrap.
Returns:
string Text wrapped with carriage returns and line feeds private

Definition at line 628 of file tag.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Test to see if text should be wrapped.

Returns:
boolean True if wrapping on. private

Definition at line 608 of file tag.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Accessor for starting value.

Returns:
string Parsed value. public

Reimplemented from SimpleWidget.

Definition at line 589 of file tag.php.

Here is the call graph for this function:

The content of textarea is not part of the page.

Returns:
boolean True. public

Reimplemented from SimpleTag.

Definition at line 648 of file tag.php.

setValue ( value)

Applies word wrapping if needed.

Parameters:
string$valueNew value.
Returns:
boolean True if allowed. public

Reimplemented from SimpleWidget.

Definition at line 599 of file tag.php.

Here is the call graph for this function:

SimpleTextAreaTag ( attributes)

Starts with a named tag with attributes only.

Parameters:
hash$attributesAttribute names and string values.

Definition at line 580 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