Add Arguments & Modules class

This commit is contained in:
Philipp Holzer 2019-08-12 18:13:58 +02:00
parent f068d00645
commit 0af9747c6c
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
12 changed files with 1083 additions and 358 deletions

View file

@ -1224,29 +1224,6 @@ class Profile
return $uid;
}
/**
* Strip zrl parameter from a string.
*
* @param string $s The input string.
* @return string The zrl.
*/
public static function stripZrls($s)
{
return preg_replace('/[\?&]zrl=(.*?)([\?&]|$)/is', '', $s);
}
/**
* Strip query parameter from a string.
*
* @param string $s The input string.
* @param $param
* @return string The query parameter.
*/
public static function stripQueryParam($s, $param)
{
return preg_replace('/[\?&]' . $param . '=(.*?)(&|$)/ism', '$2', $s);
}
/**
* search for Profiles
*