473,326 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Zend formatter problem

9
Hello

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

Expand|Select|Wrap|Line Numbers
  1.         $adapter = $this->getAuthAdapter(
  2.         $form->getValues());
  3.         $auth = Zend_Auth::getInstance();
  4.         $result = $auth->authenticate($adapter);
  5.         if (! $result->isValid()) {
  6.             $form->setDescription(
  7.             'Invalid credentials provided');
  8.             $this->view->form = $form;
  9.             return $this->render(
  10.             'index');
  11.         }
  12.  
but I want to be formatted that way

Expand|Select|Wrap|Line Numbers
  1.   $adapter = $this->getAuthAdapter($form->getValues());
  2.   $auth = Zend_Auth::getInstance();
  3.   $result = $auth->authenticate($adapter);
  4.   if (! $result->isValid()) {
  5.       $form->setDescription('Invalid input');
  6.       $this->view->form = $form;
  7.       return $this->render('index');
  8.   }
  9.  
how to configure this?
Mar 28 '11 #1
0 1060

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Giuseppe | last post by:
Hi all, I have a little problem with debugging php application with Zend Configuration: WAMP5 (PHP5, Apache, MySQL) Zend 3.5.2 (Debug Internal) When debug Zend return this error: Debug...
5
by: news | last post by:
I'm trying out the Zend Development Environment 4, and for the most part I like it, except for two things. It seems to think certain lines that are perfectly valid are bugs. Like this: while...
0
by: writeson | last post by:
Hi all, At work I'm using Zend Studio 3.5.2 to develop PHP files on my Win2K desktop machine. I've got Zend Studio setup with a secure FTP (SFTP) connection to a RedHat Enterprise Linux machine....
3
by: webguynow | last post by:
I'm a little confused, I have test apps, using Pear DB.php but in my application, and debugging through Zend studio, I have some Database updates obviously working and then I get a Fatal Error....
1
by: CLEAR-RCIC | last post by:
I have a piece of code that works in C# but when I convert it to VB.Net I get the following error: "Cannot deserialize the message passed as an argument. Cannot recognize the serialization format."...
2
by: andreas | last post by:
Hi, if have a object arrSdList of type SortedList for serialization and deserialization there are two subs for doing this Public Sub deser Dim Formatter As BinaryFormatter = New...
1
by: Xristos Nikolopoulos | last post by:
Hello, I have made an application that needs to upload files, the application is deployed in several folders, and each folder has its php files. The problem is, I have in the folder I want to...
5
by: Harold Howe | last post by:
I am having a problem deserializing objects from a library when the following conditions exist: 1- The library is strongly named 2- The serialized file was created with version 1.0 of the...
0
by: JoeT | last post by:
Hi... OK...I'm having difficulty understanding a problem with installing Zend Studio 5.5 on an Intel Mac. Prior to the install, I had the zend /library installed, and was able to...
5
gopan
by: gopan | last post by:
Hi All, I have my Ubuntu system installed with LAMP, Zend Optimizer and I installed the Zend Framework too... But when I run command root@sys1# zf show version then it returns an error like...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.