PHP Class Helper\Option

Show file Open project: sendya/shadowsocks-panel Class Usage Examples

Public Properties

Property Type Description
$k
$v

Public Methods

Method Description
__construct ( )
createKey ( $length = 30 )
delete ( $k )
get ( $k )
getConfig ( $k )
getLike ( $k ) : Option 模糊查找多个 Option
getOptions ( )
init ( )
set ( $k, $v )
setConfig ( $k, $v )

Method Details

__construct() public method

public __construct ( )

createKey() public static method

public static createKey ( $length = 30 )

delete() public static method

public static delete ( $k )

get() public static method

public static get ( $k )

getConfig() public static method

public static getConfig ( $k )

getLike() public static method

模糊查找多个 Option
public static getLike ( $k ) : Option
$k
return Option

getOptions() public static method

public static getOptions ( )

init() public static method

public static init ( )

set() public static method

public static set ( $k, $v )

setConfig() public static method

public static setConfig ( $k, $v )

Property Details

$k public property

public $k

$v public property

public $v