public static function getPermission($app, $key, $userID = 0)
    {
        //TODO $userID me mujt me i marr permissions e nje useri specifik
        return (isset(self::$permissions[$app][$key]) ? self::$permissions[$app][$key] : false);
    }
public static function getPermission($app, $key, $userID = 0)
    {
        //TODO $userID me mujt me i marr permissions e nje useri specifik
        return (isset(self::$permissions[$app][$key]) ? self::$permissions[$app][$key] : false);
    }
public static function getPermission ( $ app , $ key , $ userID = 0 ) { //TODO $userID me mujt me i marr permissions e nje useri specifik return ( isset ( self :: $ permissions [ $ app ] [ $ key ] ) ? self :: $ permissions [ $ app ] [ $ key ] : false ) ; }
Get a particular permission.

@param  int $userID Default: Authenticated User
@return mixed
Get a particular permission .