834 {
835 self::$views[$name][$type][$prefix] = & $view;
836 }
837 else
838 {
839 throw new \Exception(\JText::sprintf('JLIB_APPLICATION_ERROR_VIEW_NOT_FOUND', $name, $type, $prefix), 404);
840 }
841 }
842
843 return self::$views[$name][$type][$prefix];
844 }
608 $document = \JFactory::getDocument();
609 $viewType = $document->getType();
610 $viewName = $this->input->get('view', $this->default_view);
611 $viewLayout = $this->input->get('layout', 'default', 'string');
612
613 $view = $this->getView($viewName, $viewType, '', array('base_path' => $this->basePath, 'layout' => $viewLayout));
614
615 // Get/Create the model
616 if ($model = $this->getModel($viewName))
617 {
618 // Push the model into the view (as default)
name |
string(6) "remind" |
type |
string(4) "html" |
prefix |
string(11) "contentView" |
config |
array (2) base_path => string(51) "/var/www/web54/html/gkmedien/components/com_content" layout => string(7) "default" |
113 $model->hit();
114 }
115 }
116 }
117
118 parent::display($cachable, $safeurlparams);
119
120 return $this;
121 }
122 }
cachable |
bool TRUE |
urlparams |
array (16) catid => string(3) "INT" id => string(3) "INT" cid => string(5) "ARRAY" year => string(3) "INT" month => string(3) "INT" limit => string(4) "UINT" limitstart => string(4) "UINT" showall => string(3) "INT" return => string(6) "BASE64" filter => string(6) "STRING" filter_order => string(3) "CMD" filter_order_Dir => string(3) "CMD" filter-search => string(6) "STRING" print => string(7) "BOOLEAN" lang => string(3) "CMD" Itemid => string(3) "INT" |
697 }
698
699 // Record the actual task being fired
700 $this->doTask = $doTask;
701
702 return $this->$doTask();
703 }
704
705 /**
706 * Method to get a model object, loading it if required.
707 *
38 return;
39 }
40 }
41
42 $controller = JControllerLegacy::getInstance('Content');
43 $controller->execute(JFactory::getApplication()->input->get('task'));
44 $controller->redirect();
task |
string(0) "" |
397 * @since 1.7
398 */
399 protected static function executeComponent($path)
400 {
401 ob_start();
402 require_once $path;
403
404 return ob_get_clean();
405 }
406
407 /**
0 |
string(63) "/var/www/web54/html/gkmedien/components/com_content/content.php" |
372
373 // Handle template preview outlining.
374 $contents = null;
375
376 // Execute the component.
377 $contents = static::executeComponent($path);
378
379 // Revert the scope
380 $app->scope = $scope;
381
382 if (JDEBUG)
path |
string(63) "/var/www/web54/html/gkmedien/components/com_content/content.php" |
189 else
190 {
191 $document->setGenerator('Joomla! - Open Source Content Management');
192 }
193
194 $contents = ComponentHelper::renderComponent($component);
195 $document->setBuffer($contents, 'component');
196
197 // Trigger the onAfterDispatch event.
198 \JPluginHelper::importPlugin('system');
199 $this->triggerEvent('onAfterDispatch');
option |
string(11) "com_content" |
228 * ex: due of the sef urls
229 */
230 $this->checkUserRequireReset('com_users', 'profile', 'edit', 'com_users/profile.save,com_users/profile.apply,com_users/user.logout');
231
232 // Dispatch the application
233 $this->dispatch();
234
235 // Mark afterDispatch in the profiler.
236 JDEBUG ? $this->profiler->mark('afterDispatch') : null;
237 }
238
220 {
221 throw new \RuntimeException('Invalid input, aborting application.');
222 }
223
224 // Perform application routines.
225 $this->doExecute();
226
227 // If we have an application document object, render it.
228 if ($this->document instanceof \JDocument)
229 {
230 // Render the application output.
44
45 // Instantiate the application.
46 $app = JFactory::getApplication('site');
47
48 // Execute the application.
49 $app->execute();