Hi there,

i do this, but i overwrite the __construct function. And get this
error. Now i write:

  function __construct(View $view, $settings=array()){
    parent::__construct($view, $settings);
    //other stuff
 }

and all works!!! Yeah many thanks :)

On 17 Jan., 01:30, jeremyharris <funeralm...@gmail.com> wrote:
> Please read this section of the book regarding helpers:  
> http://book.cakephp.org/2.0/en/views/helpers.html
>
> To use the HtmlHelper inside your helper, you need to include it:
>
> App::uses('AppHelper', 'View/Helper');
>
> class MyHelper extends AppHelper {
>     public $helpers = array('Html');
>
>     public function myHelperMethod() {
>          echo $this->Html->link('a link', '/');
>     }
>
>
>
>
>
>
>
> }

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to