PHP Class OCA\Richdocuments\Helper

Show file Open project: owncloud/richdocuments Class Usage Examples

Public Methods

Method Description
getArrayValueByKey ( $array, $key, $default = '' )
getMemberColor ( string $name ) : string
getNewFileName ( $view, $path, $prepend = ' ' )
getRandomColor ( )
isVersionsEnabled ( )

Protected Methods

Method Description
convertHSLToRGB ( integer $iH, integer $iS, integer $iV ) : string

Method Details

convertHSLToRGB() protected static method

protected static convertHSLToRGB ( integer $iH, integer $iS, integer $iV ) : string
$iH integer
$iS integer
$iV integer
return string

getArrayValueByKey() public static method

public static getArrayValueByKey ( $array, $key, $default = '' )

getMemberColor() public static method

public static getMemberColor ( string $name ) : string
$name string
return string

getNewFileName() public static method

public static getNewFileName ( $view, $path, $prepend = ' ' )

getRandomColor() public static method

public static getRandomColor ( )

isVersionsEnabled() public static method

public static isVersionsEnabled ( )