Definition at line 8 of file scroll_view.inc.
◆ __construct()
ScrollView::__construct |
( |
|
$scroll | ) |
|
◆ drawView()
Definition at line 114 of file scroll_view.inc.
static getValue($component, $name)
Retrieve the value of the specified Setting.
◆ renderCodePart()
ScrollView::renderCodePart |
( |
|
$part | ) |
|
Definition at line 49 of file scroll_view.inc.
61 global $menu_identifier;
65 trace(
"Rendering part '{$part->title}' with '{$part->php_code_file}'", 3);
67 if ($part->php_code_file)
73 $codePath = explode(
",", $part->php_code_file);
74 if (count($codePath) == 2)
77 $php_code_file = $codePath[1];
84 include
$path.
"/{$php_code_file}";
97 include
$config[
'homedir'].
"/{$part->php_code_file}";
101 $output = trim(ob_get_contents());
FakoliException is the base exception class for all Fakoli errors.
static coreTraceLevel()
Change to the configured trace level for Fakoli core code.
static getComponents()
Retrieve an array of all the currently enabled components, indexed by component name.
static applicationTraceLevel()
Change to the configured trace level for application code.
$method
Pull out a simple reference to the request method.
◆ renderPart()
ScrollView::renderPart |
( |
|
$part, |
|
|
|
$partTemplate |
|
) |
| |
Definition at line 17 of file scroll_view.inc.
23 if ($part->content_type ==
"Code")
30 $imageStyle = $part->format(
'background-image: url(/action/image/show?image_id={image_id})');
31 $part->styles = ($part->styles) ?
"{$part->styles}; $imageStyle" : $imageStyle;
39 $part->content .= $part->format(
"<p id='inline_editing_{scroll_part_id}' class='inline_editor_toolbar'>".
40 "<a href='#' class='edit' onclick='ScrollPartManager.editPart({scroll_id}, {scroll_part_id}); return false;'>Edit</a>".
41 "{$versioningControls}</p>");
44 $out = $part->format($partTemplate);
45 $out = preg_replace(
"/\\[((?:include|position):.*?)\\]/i",
"{\$1}",
$out);
static fireEvent($event, $parameter=null, $mustBeConsumed=false)
Fire an event to all subscribers as detailed in their manifests.
static checkPermission($component, $name, $account=null)
Check whether a user has a specific permission.
static selectDisplayVersion($target, $param="version")
◆ $scroll
The documentation for this class was generated from the following file: