Using $this->element inside a customHelper
cakephp, cakephp-2.0, helper
Solution
In 2.0 the view object isn't added to class registry. In your helper `$this->_View` has the reference to view object. Including elements inside helpers isn't advisable.
Problem
I am building a custom helper for my app. On one of the methods I am trying to insert an element. For this I am using: ``` $El = ClassRegistry::getObject('view'); $El->element('my_element', array('plugin'=>'my_plugin')); ``` after debuging $El i get the response false. Do you guys / girls know if this operation is even possible inside a Helper? Thanks