/** * Proxy for getModel. * @since 1.6 */ public function &getModel($name = 'Pois', $prefix = 'CitybrandingModel') { $model = parent::getModel($name, $prefix, array('ignore_request' => false)); return $model; }
/** * Proxy for getModel. * @since 1.6 */ public function &getModel($name = 'Votes', $prefix = 'CitybrandingModel') { JModelLegacy::addIncludePath(JPATH_COMPONENT_ADMINISTRATOR . '/models'); $model = parent::getModel($name, $prefix, array('ignore_request' => true)); return $model; }