2011-03-28 4 views
2

ibuildings ZF입니다. 내가 클릭률 + 시프트 + F 을 누르면 코드는이 방법Zend Studio 포맷터의 형식이 잘못되었습니다.

$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'); 
} 

방법이를 구성하는 방법을 포맷 하시겠습니까?

+0

60 % 충분히 좋습니까? :) – overthetop

+0

누군가 도움이 pls? – overthetop

답변

1

포맷터는 윈도우> 환경 설정> PHP> 코드 스타일> 포맷터> 편집 ...> 줄 바꿈에서 구성 할 수 있습니다.

모든 설정은 '포장하지 마십시오'를 선택합니다.