ILIAS
release_4-3 Revision
|
XHTML Page class. More...
Public Member Functions | |
ilXHTMLPage ($a_id=0) | |
Constructor. | |
getId () | |
Get page ID. | |
setId ($a_id) | |
Set page ID. | |
getContent () | |
Get content of page. | |
setContent ($a_content) | |
Set content of page. | |
read () | |
Read page data from database. | |
_lookupContent ($a_id) | |
Lookup Content. | |
_lookupSavedContent ($a_id) | |
Lookup Saved Content. | |
save () | |
Save the page. | |
undo () | |
Undo last change. | |
clear () | |
Clear page. |
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::_lookupContent | ( | $a_id | ) |
Lookup Content.
Definition at line 93 of file class.ilXHTMLPage.php.
Referenced by save(), ilXHTMLPageTest\testSetGetSettings(), and undo().
ilXHTMLPage::_lookupSavedContent | ( | $a_id | ) |
Lookup Saved Content.
Definition at line 108 of file class.ilXHTMLPage.php.
Referenced by ilXHTMLPageTest\testSetGetSettings(), and undo().
ilXHTMLPage::clear | ( | ) |
Clear page.
Definition at line 170 of file class.ilXHTMLPage.php.
References getId(), save(), and setContent().
ilXHTMLPage::getContent | ( | ) |
Get content of page.
Definition at line 60 of file class.ilXHTMLPage.php.
References $content.
Referenced by save().
ilXHTMLPage::getId | ( | ) |
ilXHTMLPage::ilXHTMLPage | ( | $a_id = 0 | ) |
ilXHTMLPage::read | ( | ) |
Read page data from database.
Definition at line 78 of file class.ilXHTMLPage.php.
References setContent().
Referenced by ilXHTMLPage().
ilXHTMLPage::save | ( | ) |
Save the page.
Definition at line 123 of file class.ilXHTMLPage.php.
References _lookupContent(), getContent(), getId(), and setId().
Referenced by clear().
ilXHTMLPage::setContent | ( | $a_content | ) |
Set content of page.
string | $a_content | page content |
Definition at line 70 of file class.ilXHTMLPage.php.
Referenced by clear(), and read().
ilXHTMLPage::setId | ( | $a_id | ) |
Set page ID.
int | $a_id | page ID |
Definition at line 50 of file class.ilXHTMLPage.php.
Referenced by ilXHTMLPage(), and save().
ilXHTMLPage::undo | ( | ) |
Undo last change.
Definition at line 150 of file class.ilXHTMLPage.php.
References $content, _lookupContent(), _lookupSavedContent(), and getId().
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().