/** * @param $pm * * @return bool */ public static function hasPermission($pm) { return self::$modx->hasPermission($pm); }