/** * Show only when the user is logged in - or logged out * @param boolean not | If true - show only contents when the user is logged out - defaults to false * @container true */ protected function tagLoggedin($attrs) { if (SessionHandler::isLoggedIn() == ($attrs->not != 'true')) { return $this->body(); } }