◆ __construct()
ilSystemStyleDocumentationGUI::__construct |
( |
|
$read_only = false | ) |
|
◆ addGotoLink()
ilSystemStyleDocumentationGUI::addGotoLink |
( |
| ) |
|
|
protected |
◆ executeCommand()
ilSystemStyleDocumentationGUI::executeCommand |
( |
| ) |
|
◆ isReadOnly()
ilSystemStyleDocumentationGUI::isReadOnly |
( |
| ) |
|
◆ parseEntries()
ilSystemStyleDocumentationGUI::parseEntries |
( |
| ) |
|
|
protected |
- Returns
- Crawler
- Exceptions
-
Definition at line 157 of file class.ilSystemStyleDocumentationGUI.php.
160 $entries = $crawler->crawlFactory(self::ROOT_FACTORY_PATH);
161 file_put_contents(self::$DATA_PATH, json_encode($entries));
162 ilUtil::sendSuccess($this->lng->txt(
"entries_reloaded"),
true);
◆ readEntries()
ilSystemStyleDocumentationGUI::readEntries |
( |
| ) |
|
|
protected |
- Returns
- Crawler
Definition at line 169 of file class.ilSystemStyleDocumentationGUI.php.
Referenced by show().
171 $entries_array = json_decode(file_get_contents(self::$DATA_PATH),
true);
173 $entries =
new Crawler\Entry\ComponentEntries();
174 foreach ($entries_array as $entry_array) {
175 $entry =
new Crawler\Entry\ComponentEntry($entry_array);
176 $entries->addEntry($entry);
◆ setIsReadOnly()
ilSystemStyleDocumentationGUI::setIsReadOnly |
( |
|
$is_read_only | ) |
|
◆ show()
ilSystemStyleDocumentationGUI::show |
( |
| ) |
|
Definition at line 79 of file class.ilSystemStyleDocumentationGUI.php.
References $_GET, $DIC, $style, ilSystemStyleSkinContainer\generateFromId(), ilLinkButton\getInstance(), isReadOnly(), readEntries(), and ilKSDocumentationEntryGUI\renderEntry().
Referenced by executeCommand().
88 $reload_btn->setCaption($this->lng->txt(
'refresh_entries'),
false);
89 if (
$_GET[
"node_id"]) {
90 $this->ctrl->saveParameter($this,
"node_id");
92 $reload_btn->setUrl($this->ctrl->getLinkTarget($this,
'parseEntries'));
93 $toolbar->addButtonInstance($reload_btn);
94 $content .= $toolbar->getHTML();
98 $this->tpl->setLeftNavContent($explorer->getHTML());
102 $this->tpl->setContent($content);
◆ $ctrl
ilCtrl ilSystemStyleDocumentationGUI::$ctrl |
|
protected |
◆ $DATA_PATH
ilSystemStyleDocumentationGUI::$DATA_PATH |
|
static |
◆ $is_read_only
ilSystemStyleDocumentationGUI::$is_read_only = false |
|
protected |
◆ $lng
ilSystemStyleDocumentationGUI::$lng |
|
protected |
◆ $tpl
ilSystemStyleDocumentationGUI::$tpl |
|
protected |
◆ DATA_DIRECTORY
const ilSystemStyleDocumentationGUI::DATA_DIRECTORY = "./Services/Style/System/data" |
◆ DATA_FILE
const ilSystemStyleDocumentationGUI::DATA_FILE = "data.json" |
◆ ROOT_FACTORY_PATH
const ilSystemStyleDocumentationGUI::ROOT_FACTORY_PATH = "./Services/Style/System/data/abstractDataFactory.php" |
The documentation for this class was generated from the following file: