PHP 클래스 RCCWP_Options, Magic-Fields

파일 보기 프로젝트 열기: hunk/Magic-Fields 1 사용 예제들

공개 메소드들

메소드 설명
Get ( string $key = null ) Get the options of magic fields
Set ( string $key, string $val ) Save a new value in the options
Update ( $options ) Update the options of Magic Fields

메소드 상세

Get() 공개 정적인 메소드

if is not specified a key is return a array with all the options of magic fields
public static Get ( string $key = null )
$key string is the name of the option.

Set() 공개 정적인 메소드

@param string $key is the name of the option to will be updated
public static Set ( string $key, string $val )
$key string
$val string is the new value of the option

Update() 공개 정적인 메소드

@params array $options is a array with the options of Magic Fields
public static Update ( $options )