Definition at line 122 of file facet_manager.inc.
◆ __construct()
PanelFacetManager::__construct |
( |
|
$target | ) |
|
◆ addFacet()
PanelFacetManager::addFacet |
( |
|
$title, |
|
|
|
$facet |
|
) |
| |
Definition at line 135 of file facet_manager.inc.
137 $this->facets[$title] = $facet;
138 $facet->manager = $this;
◆ drawForm()
PanelFacetManager::drawForm |
( |
| ) |
|
Definition at line 171 of file facet_manager.inc.
174 <div
id=
'<?echo $this->id?>' class=
'facet_form'>
176 foreach($this->facets as $title => $facet)
179 <span style=
'display: inline-block'><label
for=
'<?echo $facet->getID()?>'><?echo $title?></label>
◆ writeScript()
PanelFacetManager::writeScript |
( |
| ) |
|
Definition at line 143 of file facet_manager.inc.
145 $mgr = $this->target->getID().
"_facet_manager";
146 $panel = $this->target->getID();
148 $script = <<<ENDSCRIPT
149 <script type=
"text/javascript">
150 window.addEvent(
'domready',
function()
154 onFilterChanged:
function()
156 document.id(
'{$panel}').loadPanel(
'{$this->target->handler}?' + {$mgr}.getQueryString());
162 foreach($this->facets as $facet)
167 $script .=
"\n});\n</script>";
◆ $facets
PanelFacetManager::$facets |
◆ $id
◆ $target
PanelFacetManager::$target |
The documentation for this class was generated from the following file: