
Public Member Functions | |
| __construct ($name) | |
| Constructor. | |
| getName () | |
| addText ($text) | |
| Adds text to this popup. | |
| display ($indent=0) | |
| Prints the javascript for this popup. | |
| toString ($indent=0) | |
| Transforms this popup object to its javascript representation. | |
Static Public Member Functions | |
| static | getInstances () |
| Gets all instances of this class. | |
Protected Member Functions | |
| put ($string, $indent) | |
| Convenience function for formatting a single line. | |
Protected Attributes | |
| $name | |
| The name of this popup. | |
| $text = '' | |
| The contents of this popup. | |
Static Protected Attributes | |
| static | $instances = array() |
| All instances of this class. | |
Definition at line 6 of file Popup.class.php.
| spunQ_Popup::__construct | ( | $ | name | ) |
Constructor.
| $name | The name of this popup |
Definition at line 38 of file Popup.class.php.
| spunQ_Popup::addText | ( | $ | text | ) |
Adds text to this popup.
| $text | Text to add |
Definition at line 53 of file Popup.class.php.
| spunQ_Popup::display | ( | $ | indent = 0 |
) |
Prints the javascript for this popup.
| $indent | The amount of indentation to use for the code. |
Definition at line 63 of file Popup.class.php.
| static spunQ_Popup::getInstances | ( | ) | [static] |
Gets all instances of this class.
Definition at line 18 of file Popup.class.php.
| spunQ_HtmlGenerator::put | ( | $ | string, | |
| $ | indent | |||
| ) | [protected, inherited] |
Convenience function for formatting a single line.
| $string | The string to print | |
| $indent | The indentation level to use, a numeric value. |
Definition at line 11 of file HtmlGenerator.class.php.
| spunQ_Popup::toString | ( | $ | indent = 0 |
) |
Transforms this popup object to its javascript representation.
| $indent | The indentation level to use, a numeric value. |
Reimplemented in spunQ_HtmlPopupLogTarget.
Definition at line 73 of file Popup.class.php.
spunQ_Popup::$instances = array() [static, protected] |
spunQ_Popup::$name [protected] |
spunQ_Popup::$text = '' [protected] |
1.5.9