我正在使用ibuildings ZF。当我按 Ctr+Shift+F 时,代码是这样格式化的
$adapter = $this->getAuthAdapter(
$form->getValues());
$auth = Zend_Auth::getInstance();
$result = $auth->authenticate($adapter);
if (! $result->isValid()) {
$form->setDescription(
'Invalid credentials provided');
$this->view->form = $form;
return $this->render('index');
}
但我想这样格式化
$adapter = $this->getAuthAdapter($form->getValues());
$auth = Zend_Auth::getInstance();
$result = $auth->authenticate($adapter);
if (! $result->isValid()) {
$form->setDescription('Invalid input');
$this->view->form = $form;
return $this->render('index');
}
如何配置这个?