PHP 클래스 GravityFormsIframe_AbstractPlugin

부터: 2.0.0
파일 보기 프로젝트 열기: cedaro/gravity-forms-iframe

보호된 프로퍼티들

프로퍼티 타입 설명
$basename string Ex: plugin-name/plugin-name.php
$directory string Absolute path to the main plugin directory.
$file string Absolute path to the main plugin file.
$slug string Plugin identifier.
$url string URL to the main plugin directory.

공개 메소드들

메소드 설명
get_basename ( ) : string Retrieve the relative path to the main plugin file from the plugin directory.
get_directory ( ) : string Retrieve the plugin directory.
get_file ( ) : string Retrieve the absolute path for the main plugin file.
get_path ( string $path = '' ) : string Retrieve the path to a file in the plugin.
get_slug ( ) : string Retrieve the plugin indentifier.
get_url ( string $path = '' ) : string Retrieve the URL for a file in the plugin.
register_hooks ( object $provider ) Register a hook provider.
set_basename ( string $basename ) : string Set the plugin basename.
set_directory ( string $directory ) Set the plugin's directory.
set_file ( string $file ) Set the path to the main plugin file.
set_slug ( string $slug ) Set the plugin identifier.
set_url ( string $url ) Set the URL for plugin directory root.

메소드 상세

get_basename() 공개 메소드

Retrieve the relative path to the main plugin file from the plugin directory.
부터: 2.0.0
public get_basename ( ) : string
리턴 string

get_directory() 공개 메소드

Retrieve the plugin directory.
부터: 2.0.0
public get_directory ( ) : string
리턴 string

get_file() 공개 메소드

Retrieve the absolute path for the main plugin file.
부터: 2.0.0
public get_file ( ) : string
리턴 string

get_path() 공개 메소드

Retrieve the path to a file in the plugin.
부터: 2.0.0
public get_path ( string $path = '' ) : string
$path string Optional. Path relative to the plugin root.
리턴 string

get_slug() 공개 메소드

Retrieve the plugin indentifier.
부터: 2.0.0
public get_slug ( ) : string
리턴 string

get_url() 공개 메소드

Retrieve the URL for a file in the plugin.
부터: 2.0.0
public get_url ( string $path = '' ) : string
$path string Optional. Path relative to the plugin root.
리턴 string

register_hooks() 공개 메소드

Register a hook provider.
부터: 2.0.0
public register_hooks ( object $provider )
$provider object Hook provider.

set_basename() 공개 메소드

Set the plugin basename.
부터: 2.0.0
public set_basename ( string $basename ) : string
$basename string Relative path from the main plugin directory.
리턴 string

set_directory() 공개 메소드

Set the plugin's directory.
부터: 2.0.0
public set_directory ( string $directory )
$directory string Absolute path to the main plugin directory.

set_file() 공개 메소드

Set the path to the main plugin file.
부터: 2.0.0
public set_file ( string $file )
$file string Absolute path to the main plugin file.

set_slug() 공개 메소드

Set the plugin identifier.
부터: 2.0.0
public set_slug ( string $slug )
$slug string Plugin identifier.

set_url() 공개 메소드

Set the URL for plugin directory root.
부터: 2.0.0
public set_url ( string $url )
$url string URL to the root of the plugin directory.

프로퍼티 상세

$basename 보호되어 있는 프로퍼티

Ex: plugin-name/plugin-name.php
부터: 2.0.0
protected string $basename
리턴 string

$directory 보호되어 있는 프로퍼티

Absolute path to the main plugin directory.
부터: 2.0.0
protected string $directory
리턴 string

$file 보호되어 있는 프로퍼티

Absolute path to the main plugin file.
부터: 2.0.0
protected string $file
리턴 string

$slug 보호되어 있는 프로퍼티

Plugin identifier.
부터: 2.0.0
protected string $slug
리턴 string

$url 보호되어 있는 프로퍼티

URL to the main plugin directory.
부터: 2.0.0
protected string $url
리턴 string