프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$instance | The singleton instance. | ||
$runlevels | array | String mappings for the runlevels. |
메소드 | 설명 | |
---|---|---|
getRunlevel ( string $runlevel ) : integer | Return's the value for the passed runlevel representation. | |
getRunlevels ( ) : array | Return's an array with the available runlevels. | |
isRunlevel ( string $runlevel ) : boolean | Query whether or not, the passed runlevel is valid. | |
singleton ( ) : |
Return's the singleton instance. |
메소드 | 설명 | |
---|---|---|
__clone ( ) : void | This is a utility class, so protect it against cloning. | |
__construct ( ) | This is a utility class, so protect it against direct instantiation. |
public getRunlevel ( string $runlevel ) : integer | ||
$runlevel | string | The runlevel to return the value for |
리턴 | integer | The runlevel's value |
public getRunlevels ( ) : array | ||
리턴 | array | The available runlevels |
public isRunlevel ( string $runlevel ) : boolean | ||
$runlevel | string | The runlevel to query |
리턴 | boolean | TRUE if the runlevel is valid, else FALSE |
public static singleton ( ) : |
||
리턴 | The singleton instance |
protected static Runlevels,AppserverIo\Appserver\Core\Utilities $instance | ||
리턴 |