Sent: 24 February 2009 16:23
To: O'BRIEN, Steven X
Cc: Marko Korhonen; fw-general@lists.zend.com
Subject: Re: [fw-general] Base Controller convenience methods
Steven:
To get code completion do something like:
/**
* @var MyCustomHelper
*/
protected $myCustomHelper;
...
public function init
ral@lists.zend.com
Subject: Re: [fw-general] Base Controller convenience methods
Steven:
To get code completion do something like:
/**
* @var MyCustomHelper
*/
protected $myCustomHelper;
...
public function init() {
...
$this->myCustomHelper = $this->_helper->myCustomHelper;
...
}
Steven:
To get code completion do something like:
/**
* @var MyCustomHelper
*/
protected $myCustomHelper;
...
public function init() {
...
$this->myCustomHelper = $this->_helper->myCustomHelper;
...
}
using the @var notation will allow Eclipse to expand any reference.
- jake
On Tue, Feb
On Tue, Feb 24, 2009 at 4:48 PM, Matthew Weier O'Phinney
wrote:
> -- O'BRIEN, Steven X wrote
> (on Tuesday, 24 February 2009, 02:23 PM -):
>> This might sound trivial but an advantage of using base controllers is that
>> you get code completion using eclipse or zend studio.
>>
>> Do you get
-- O'BRIEN, Steven X wrote
(on Tuesday, 24 February 2009, 02:23 PM -):
> This might sound trivial but an advantage of using base controllers is that
> you get code completion using eclipse or zend studio.
>
> Do you get code completion when using action helpers?
>
> For example it would be
This might sound trivial but an advantage of using base controllers is that you
get code completion using eclipse or zend studio.
Do you get code completion when using action helpers?
For example it would be great if you could go $this->_helper->[List of all
available helpers]
-Original