PHP 클래스 Papi_Loader, papi

상속: extends Papi_Container
파일 보기 프로젝트 열기: wp-papi/papi 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$name string The plugin name.

보호된 프로퍼티들

프로퍼티 타입 설명
$instance Papi_Loader The instance of Papi loader class.

공개 메소드들

메소드 설명
__call ( string $name, array $arguments ) : mixed Call function in the container.
__clone ( ) Cloning is forbidden.
__wakeup ( ) Unserializing instances of this class is forbidden.
deactivate ( ) Deactivate Papi if the WordPress version is lower then 4.0.
instance ( ) : Papi_Loader Papi loader instance.

보호된 메소드들

메소드 설명
__construct ( ) The constructor.
constants ( ) Bootstrap constants
define ( string $name, string | boolean $value ) Define constant if not already set.
init ( ) Initialise Papi.
load_textdomain ( ) Load Localisation files.
require_files ( ) Require files.
setup_container ( ) Setup container.

메소드 상세

__call() 공개 메소드

Call function in the container.
public __call ( string $name, array $arguments ) : mixed
$name string
$arguments array
리턴 mixed

__clone() 공개 메소드

Cloning is forbidden.
public __clone ( )

__construct() 보호된 메소드

The constructor.
protected __construct ( )

__wakeup() 공개 메소드

Unserializing instances of this class is forbidden.
public __wakeup ( )

constants() 보호된 메소드

Bootstrap constants
protected constants ( )

deactivate() 공개 정적인 메소드

Deactivate Papi if the WordPress version is lower then 4.0.
public static deactivate ( )

define() 보호된 메소드

Define constant if not already set.
protected define ( string $name, string | boolean $value )
$name string
$value string | boolean

init() 보호된 메소드

Initialise Papi.
protected init ( )

instance() 공개 정적인 메소드

Papi loader instance.
public static instance ( ) : Papi_Loader
리턴 Papi_Loader

load_textdomain() 보호된 메소드

Locales found in: - WP_LANG_DIR/papi/papi-LOCALE.mo - WP_CONTENT_DIR/[mu-]plugins/papi/languages/papi-LOCALE.mo
protected load_textdomain ( )

require_files() 보호된 메소드

Require files.
protected require_files ( )

setup_container() 보호된 메소드

Setup container.
protected setup_container ( )

프로퍼티 상세

$instance 보호되어 있는 정적으로 프로퍼티

The instance of Papi loader class.
protected static Papi_Loader $instance
리턴 Papi_Loader

$name 공개적으로 프로퍼티

The plugin name.
public string $name
리턴 string