Jaxel
Well-known member
I am trying to use the following code:
However, it appears that getHelper is not a valid function in models; only in controllers. How would I do what I'm trying to do here inside of a model?
Code:
$ftpHelper = $this->getHelper('ForumThreadPost');
$forum = $ftpHelper->assertForumValidAndViewable($options->EWRmedio_autoforum);
$forumId = $forum['node_id'];
However, it appears that getHelper is not a valid function in models; only in controllers. How would I do what I'm trying to do here inside of a model?