Method | Description | |
---|---|---|
cleanComment ( string $comment, string $glueSeparator = ',', boolean $uniqueValues = true ) : string | Clean comment | |
cleanString ( string $string, boolean $keepMultipleUnderscores = true ) : string | Clean a string to make it valid as PHP variable See more about the used regular expression at {@link http://www.regular-expressions.info/unicode.html}: - \p{L} for any valid letter - \p{N} for any valid number - /u for suporting unicode | |
createDirectory ( string $directory, integer $permissions = 509 ) : boolean | ||
getContentFromUrl ( string $url, string $basicAuthLogin = null, string $basicAuthPassword = null, string $proxyHost = null, string $proxyPort = null, string $proxyLogin = null, string $proxyPassword = null, array $contextOptions = [] ) : string | Get content from url using a proxy or not | |
getContentFromUrlContextOptions ( string $url, string $basicAuthLogin = null, string $basicAuthPassword = null, string $proxyHost = null, string $proxyPort = null, string $proxyLogin = null, string $proxyPassword = null, array $contextOptions = [] ) : string[] | ||
getPart ( string $optionValue, string $string ) : string | Gets upper case word admong a string from the end or from the beginning part | |
getValueWithinItsType ( mixed $value, $knownType = null ) : mixed | Returns the value with good type | |
removeNamespace ( string $namespacedClassName ) : string | ||
resolveCompletePath ( string $origin, string $destination ) : string |
public static getContentFromUrl ( string $url, string $basicAuthLogin = null, string $basicAuthPassword = null, string $proxyHost = null, string $proxyPort = null, string $proxyLogin = null, string $proxyPassword = null, array $contextOptions = [] ) : string | ||
$url | string | |
$basicAuthLogin | string | |
$basicAuthPassword | string | |
$proxyHost | string | |
$proxyPort | string | |
$proxyLogin | string | |
$proxyPassword | string | |
$contextOptions | array | |
return | string |
public static getContentFromUrlContextOptions ( string $url, string $basicAuthLogin = null, string $basicAuthPassword = null, string $proxyHost = null, string $proxyPort = null, string $proxyLogin = null, string $proxyPassword = null, array $contextOptions = [] ) : string[] | ||
$url | string | |
$basicAuthLogin | string | |
$basicAuthPassword | string | |
$proxyHost | string | |
$proxyPort | string | |
$proxyLogin | string | |
$proxyPassword | string | |
$contextOptions | array | |
return | string[] |
public static getValueWithinItsType ( mixed $value, $knownType = null ) : mixed | ||
$value | mixed | the value |
return | mixed |
public static removeNamespace ( string $namespacedClassName ) : string | ||
$namespacedClassName | string | |
return | string |