Hi all.
i'm having some trouble with Helper aliasing.
I have 2 helpers: "Pdf" and his sub-helper "PdfTable".
i'm getting a "Call to a member function output() on a non-object in D:\..."
my view code:
echo $this->Pdf->Table->output();
the first helper:
class PdfHelper extends AppHelper {
public $helpers = array(
"Table" => array(
"className" => "Pdftable"
)
);
}
The second one:
class PdftableHelper extends AppHelper {
function output () {
return "omg my table!!";
}
}
Why?
is Helper aliasing not working when used inside another helper?
--
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