Hi all,
My question is over how to use phpDocs on ZF. What do you write @category,
@package and @subpackage at Controller, Model for classes? We write like
above at Company. Do you think it is correct?
Best Regards.
/**
* Blog_IndexController
*
* @category ApplicationName
* @package
I've done the same research in the last few weeks.
I've tried TomatoCMS, Digitalus and Pimcore. Digitalus and TomatoCMS are not
very active project so far in 2011.
I've chosen Pimcore and used it on one project:
Impressive approach to content management with 2 good abstractions: the
Document
-- onur.ozgur.ozkan onur.ozgur.oz...@lab2023.com wrote
(on Wednesday, 06 July 2011, 03:53 AM -0700):
My question is over how to use phpDocs on ZF. What do you write @category,
@package and @subpackage at Controller, Model for classes? We write like
above at Company. Do you think it is correct?
Hi
Problem: i have a form with several displaygroups, on the view script i
do echo for each displaygroup, but when i push the submit button doesn´t
work because the tag form with action, method and other attributes is
missing. how can i solve it? thank you
--
List:
If you manually echo, then you probably should also manually create the
form/ element wrapping all your displaygroups.
Do you need to echo them separately because they're placed in different
positions of the page?
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 6 July 2011
You shouldn't need to echo each display group. You should be able to just
echo the form, which will output all the display groups inside form tags (if
the form decorators are setup properly - default settings work in this
case).
- James
On Wed, Jul 6, 2011 at 10:15 AM, Diego Garcia
yes, they´re placed in different positions and besides i have another
elements between them that aren´t form elements, is there a more
automatic way to do this or i´ll have to wrap them with the form
manually?
El 06/07/2011 11:19 a.m., Marco Pivetta escribió:
If you manually echo, then you
i can´t echo the form, i nedd to display each group individually because
i need to render a grid in the middle of the elements
El 06/07/2011 11:19 a.m., James Ganong escribió:
You shouldn't need to echo each display group. You should be able to just
echo the form, which will output all the
Ah, well, you have a few options then:
1. (As Marco suggested) Manually add the form tag, but use the form
attribute settings. Something like this:
form action=?php echo $this-form-getAction() ?
enctype=?php echo $this-form-getEnctype() ?
method=?php echo $this-form-getMethod() ?
thanx for the answer James! really helpful!
El 06/07/2011 12:01 p.m., James Ganong escribió:
Ah, well, you have a few options then:
1. (As Marco suggested) Manually add the form tag, but use the form
attribute settings. Something like this:
form action=?php echo $this-form-getAction() ?
Hi,
many thanks for the indications Matthew !
I've now attached a unit test to the ticket. It shows both the old (wrong)
parsing and the new (correct) parsing in two different cases.
Let me know if there is anything else I can do to help,
Dominik
On 2011-07-05, at 5:43 PM, Matthew Weier
I have controller Index:
class IndexController extends Zend_Controller_Action
{
public function oneAction()
{
$oneForm = new Application_Form_One();
$oneForm-setAction('/index/one');
if ($this-getRequest()-isPost()) {
if
12 matches
Mail list logo