by the way:
http://www.dereuromark.de/2010/06/26/helper-component-lib/
if you need help on where use what when.
On 20 Jun., 15:02, euromark wrote:
> jesus christ
> that looks awefully wild...^^
>
> if you need sth to work both in controllers and helpers make a lib!
> otherwise use a component in
jesus christ
that looks awefully wild...^^
if you need sth to work both in controllers and helpers make a lib!
otherwise use a component in your controller
and if you really need to use a helper in a controller (should not be
the case)
app::import() it
On 20 Jun., 14:56, Tilen Majerle wrote:
>
Take the function out of your controller and place this in your view: echo
$this->Threadlist->check();
On 19 Jun 2011, at 12:31, jesperkp wrote:
> I can use the core helpers from CakePHP - but I can not get my own
> helper to function.
>
> To test my helper installation I do this :
>
> /* /ap
no mate, helpers can be used ONLY in views and components in controllers :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/6/19 jesperkp
> I can use the core helpers from CakePHP - but I can not get my own
> helper to function.
>
> To test my helper installation I do this :
>
> /* /ap
I can use the core helpers from CakePHP - but I can not get my own
helper to function.
To test my helper installation I do this :
Threadlist->check();
}
In my view I do :
echo "Checking for checkGetListHelper(): ". $this-
>requestAction('threads/checkGetListHelper');
Which re