Zend formatter problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vanko
    New Member
    • Mar 2007
    • 9

    Zend formatter problem

    Hello

    I am using ibuildings ZF. When I press Ctr+Shift+F
    the code is formated this way

    Code:
            $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');
            }
    but I want to be formatted that way

    Code:
      $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');
      }
    how to configure this?
Working...