public function render($action = null, $layout = null, $file = null) { if (!$this->testView) { $this->renderedAction = $action; } else { return parent::render($action, $layout, $file); } }
/** * Proxy for getModel. * @since 1.6 */ public function &getModel($name = 'Links', $prefix = 'LinksModel') { $model = parent::getModel($name, $prefix, array('ignore_request' => true)); return $model; }