profileOwnerUserID = $profileOwnerUserID; $this->visitorUserID = $visitorUserID; } public function isAdmin() { global $TIGUserInfo; return ($TIGUserInfo['UserTypeID'] >= 4); } public function isOwner() { return $this->profileOwnerUserID == $this->visitorUserID; } }