Definition at line 8 of file online_help_helper.inc.
◆ buildPageTable()
static OnlineHelpHelper::buildPageTable |
( |
|
$pages, |
|
|
|
$help_book_id |
|
) |
| |
|
static |
Definition at line 67 of file online_help_helper.inc.
70 $table->column(
"Help Page",
"<a href='help_page_form?help_page_id={help_page_id}&help_book_id={help_book_id}'>{title}</a>")
71 ->column(
"Identifier",
"{identifier}",
false,
"width: 25%")
73 ->column(
"Subpages", array(
OnlineHelpHelper, formatSubPages),
false,
"width: 20%")
74 ->column(
"Public",
"{public:Yes/No}",
false,
"text-align: center; width: 15%")
79 $table->enableDragReorder(
"/action/online_help/reorder_help_pages?help_book_id=$help_book_id");
80 $table->dragText =
"<span style='font-size: 10px'>Click and drag to change the order of the help pages</span>";
static formatHelpPageContent($helpPage)
◆ buildRootPageTable()
static OnlineHelpHelper::buildRootPageTable |
( |
|
$pages, |
|
|
|
$help_book_id |
|
) |
| |
|
static |
◆ formatHelpPageContent()
static OnlineHelpHelper::formatHelpPageContent |
( |
|
$helpPage | ) |
|
|
static |
◆ formatParentOptions()
static OnlineHelpHelper::formatParentOptions |
( |
|
$helpBook, |
|
|
|
$helpPage |
|
) |
| |
|
static |
Definition at line 16 of file online_help_helper.inc.
20 $constraint =
"WHERE identifier != '{$helpPage->identifier}'";
22 $helpPages =
$helpBook->Pages(
"$constraint ORDER BY sort_order");
28 foreach($helpPages as $hp)
31 $options[$hp->help_page_id] = $hp->title;
◆ formatSubpages()
static OnlineHelpHelper::formatSubpages |
( |
|
$helpPage | ) |
|
|
static |
Definition at line 38 of file online_help_helper.inc.
44 return formatItems($children,
"<a style='display: inline' href='help_page_form?help_book_id={help_book_id}&help_page_id={help_page_id}'>{title}</a>",
", ");
The documentation for this class was generated from the following file: