validateData($data)) { /** * @see Zend_Controller_Action_Exception */ #require_once 'Zend/Controller/Action/Exception.php'; throw new Zend_Controller_Action_Exception('Invalid data passed for autocompletion'); } $data = (array) $data; $data = ''; if (!$keepLayouts) { $this->disableLayouts(); } return $data; } }