|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
XHTML Page class. More...
Collaboration diagram for ilXHTMLPage:Public Member Functions | |
| __construct ($a_id=0) | |
| Constructor. More... | |
| getId () | |
| Get page ID. More... | |
| setId ($a_id) | |
| Set page ID. More... | |
| getContent () | |
| Get content of page. More... | |
| setContent ($a_content) | |
| Set content of page. More... | |
| read () | |
| Read page data from database. More... | |
| save () | |
| Save the page. More... | |
| undo () | |
| Undo last change. More... | |
| clear () | |
| Clear page. More... | |
Static Public Member Functions | |
| static | _lookupContent ($a_id) |
| Lookup Content. More... | |
| static | _lookupSavedContent ($a_id) |
| Lookup Saved Content. More... | |
Data Fields | |
| $id = 0 | |
| $content = "" | |
XHTML Page class.
Should be used to store XHTML pages created by tiny (e.g. for ategories).
Definition at line 16 of file class.ilXHTMLPage.php.
| ilXHTMLPage::__construct | ( | $a_id = 0 | ) |
|
static |
Lookup Content.
Definition at line 93 of file class.ilXHTMLPage.php.
References $ilDB.
Referenced by save(), ilXHTMLPageTest\testSetGetSettings(), and undo().
Here is the caller graph for this function:
|
static |
Lookup Saved Content.
Definition at line 108 of file class.ilXHTMLPage.php.
References $ilDB.
Referenced by ilXHTMLPageTest\testSetGetSettings(), and undo().
Here is the caller graph for this function:| ilXHTMLPage::clear | ( | ) |
Clear page.
Definition at line 170 of file class.ilXHTMLPage.php.
References $ilDB, getId(), save(), and setContent().
Here is the call graph for this function:| ilXHTMLPage::getContent | ( | ) |
Get content of page.
Definition at line 60 of file class.ilXHTMLPage.php.
References $content.
Referenced by save().
Here is the caller graph for this function:| ilXHTMLPage::getId | ( | ) |
| ilXHTMLPage::read | ( | ) |
Read page data from database.
Definition at line 78 of file class.ilXHTMLPage.php.
References $ilDB, and setContent().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXHTMLPage::save | ( | ) |
Save the page.
Definition at line 123 of file class.ilXHTMLPage.php.
References $ilDB, _lookupContent(), getContent(), getId(), and setId().
Referenced by clear().
Here is the call graph for this function:
Here is the caller graph for this function:| ilXHTMLPage::setContent | ( | $a_content | ) |
Set content of page.
| string | $a_content | page content |
Definition at line 70 of file class.ilXHTMLPage.php.
References $a_content.
Referenced by clear(), and read().
Here is the caller graph for this function:| ilXHTMLPage::setId | ( | $a_id | ) |
Set page ID.
| int | $a_id | page ID |
Definition at line 50 of file class.ilXHTMLPage.php.
Referenced by __construct(), and save().
Here is the caller graph for this function:| ilXHTMLPage::undo | ( | ) |
Undo last change.
Definition at line 150 of file class.ilXHTMLPage.php.
References $content, $ilDB, _lookupContent(), _lookupSavedContent(), and getId().
Here is the call graph for this function:| ilXHTMLPage::$content = "" |
Definition at line 19 of file class.ilXHTMLPage.php.
Referenced by getContent(), and undo().
| ilXHTMLPage::$id = 0 |
Definition at line 18 of file class.ilXHTMLPage.php.
Referenced by getId().