if I have a function in the Page_Controller
public function getMemberType() {
$family_member = $this->getFamilyMember();
return $family_member->MemberType()->Name;
}
why does this work
<% if getMemberType = Pathfinder %>
and this also works
<p>$CurrentPage.getMemberType</p>
but this does not
<% if CurrentPage.getMemberType = Pathfinder %>
at this point I'm inside a contol of some other object but I want to reach back up to the CurrentPage and get the "getMemberType" method.
Help!