public function controllerNameEquals($name) {
        $controllerName = strtolower($this->getControllerName());

        if (is_array($name)) {
            foreach ($name as $n) {
                if ($controllerName == strtolower($n)) {
                    return true;
                }
            }

            return false;
        }
        else {
            return $controllerName == strtolower($name);
        }
    }