-- iceangel89 <[email protected]> wrote
(on Tuesday, 05 May 2009, 12:11 AM -0700):
> can i do a 

Try it! (more below)...

> new Zend_Form_Element_Text("txt", array(
>    'class' = 'textbox'

Well, that '=' needs to be an '=>', but otherwise, yes...

> )); 
> 
> for example?

Seriously, though: it will usually take less time to try something than
ask on list if it's possible. You'll also tend to learn more from the
experience.

I have a "test.php" file that I open up anytime I want to find out what
a bit of code or an idea will do, and I then simply run it through PHP
(you can do this in Eclipse or Studio, or in vim by executing ':!php
%'); you can see immediately the results -- usually in less time than it
takes to write an email.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to