Hello Cakephp Friends, i try to realize my own Helper, but i have a bit Problems to use the other Helper.
Example 1: I must access to the AuthComponent. FIrst i try this with $this->Auth- >user(); it didnt work and i found the solution to do this with: AuthComponent::user(); Seems the correct way. Example 2: I want to create a link inside my helper. $this->Html->link(); doesn't work. HtmlHelper::link(); works but i get an error: Warning (2): in_array() expects parameter 2 to be array, null given [CORE\Cake\View\Helper.php, line 403] Now my first Question is, why he use a deprecated function? Comment in Helper.php Deprecated. This method has been moved to HtmlHelper Help again :( Thank you for so much help!!! Steffen -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
