Definition at line 60 of file online_help_manager.inc.
◆ endFrame()
OnlineHelpManager::endFrame |
( |
| ) |
|
◆ getAdminTabs()
static OnlineHelpManager::getAdminTabs |
( |
|
$key | ) |
|
|
static |
Definition at line 104 of file online_help_manager.inc.
106 $tabs = array(
"Details" =>
"/admin/help_book_form",
107 "Help Pages" =>
"/admin/help_pages"
110 $qs = ($key) ?
"help_book_id=$key" :
"";
111 return new TabBar(
"tabs",
$tabs,
$qs);
◆ onInitialize()
static OnlineHelpManager::onInitialize |
( |
| ) |
|
|
static |
◆ OnlineHelpManager()
OnlineHelpManager::OnlineHelpManager |
( |
|
$book | ) |
|
◆ registerSerializationHandler()
static OnlineHelpManager::registerSerializationHandler |
( |
| ) |
|
|
static |
Definition at line 120 of file online_help_manager.inc.
registerHandler($component, $title, $handler)
Registers a serialization handler for a component.
◆ setDefaults()
static OnlineHelpManager::setDefaults |
( |
| ) |
|
|
static |
Definition at line 69 of file online_help_manager.inc.
71 Settings::setDefaultValue(
"online_help",
"default_book",
"", String,
"Specify the default help book to which the help link will connect");
72 Settings::setDefaultValue(
"online_help",
"use_page_identifiers",
"", Boolean,
"Use page identifiers as the default help identifier");
74 Settings::setDefaultValue(
"online_help",
"help_css",
"/components/online_help/css/online_help.css", String,
"CSS Files defining the help popup look and feel (comma separated)");
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
◆ startFrame()
OnlineHelpManager::startFrame |
( |
|
$class | ) |
|
Definition at line 125 of file online_help_manager.inc.
134 if ($flowPlayerScript)
136 $script .=
"<script type='text/javascript' src='$flowPlayerScript'></script>\n";
141 $script .=
"<script type='text/javascript'>\nvar flowplayerPath = '$flowPlayer';\n</script>\n";
147 $additional = explode(
",", $this->book->additional_css_files);
151 $styles .=
"<link href='$c' rel='stylesheet'/>\n";
154 foreach($additional as
$c)
156 $styles .=
"<link href='$c' rel='stylesheet'/>\n";
166 <body
class=
'<?echo $class?>'>
static getStyles()
Returns the HTML link tags for CSS files specified by the registered components in their manifest fil...
static getScripts()
Returns the HTML scripts tags for Javascript files specified by the registered components in their ma...
static getValue($component, $name)
Retrieve the value of the specified Setting.
if(!checkRole("admin")) $c
◆ substituteHelpLink()
static OnlineHelpManager::substituteHelpLink |
( |
|
$output | ) |
|
|
static |
Definition at line 83 of file online_help_manager.inc.
91 if (!$help_page && $useIdentifier) $help_page =
$page->identifier;
93 if ($help_book && $help_page)
96 $helpLink =
"<a class='help_link' href='#' onclick='OnlineHelp.help(\"{$help_book}\", \"{$help_page}\"); return false;'>$helpText</a>";
◆ upgradeComponent()
static OnlineHelpManager::upgradeComponent |
( |
|
$version | ) |
|
|
static |
◆ $book
The documentation for this class was generated from the following file: