public IsCurrentStep ( $name ) |
public function IsCurrentStep($name)
{
if ($this->owner->getAction() === $name) {
return true;
} elseif (!$this->owner->getAction() || $this->owner->getAction() === "index") {
return $this->actionPos($name) === 0;
}
return false;
}