PHP 클래스 Controller_Addon, atk4

상속: extends AbstractController
파일 보기 프로젝트 열기: atk4/atk4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$addon_base_path string | object | array
$addon_name string
$addon_obj object with information from json file
$addon_private_locations array
$addon_public_locations array
$api_var
$atk_version string
$base_path ???
$has_assets boolean
$location PathFinder_Location
$namespace string
$with_pages boolean

공개 메소드들

메소드 설명
addAddonLocations ( $base_path )
addLocation ( $contents, $public_contents = null ) This defines the location data for the add-on. Call this method explicitly from init() if necessary.
checkConfiguration ( )
init ( ) ???
installAssets ( ) This method will rely on location data to link.
installDatabase ( )
licenseCheck ( $type, $software = 'atk', $pubkey = null, $pubkey_md5 = null ) Addon may requrie user to have license for ATK or some other piece of software to function properly. This is will be called during installation and then later on ocassionally, but not on production environment.
routePages ( $page_prefix ) This routes certain prefixes to an add-on. Call this method explicitly from init() if necessary.

메소드 상세

addAddonLocations() 공개 메소드

public addAddonLocations ( $base_path )

addLocation() 공개 메소드

This defines the location data for the add-on. Call this method explicitly from init() if necessary.
public addLocation ( $contents, $public_contents = null )

checkConfiguration() 공개 메소드

public checkConfiguration ( )

init() 공개 메소드

???
public init ( )

installAssets() 공개 메소드

This method will rely on location data to link.
public installAssets ( )

installDatabase() 공개 메소드

public installDatabase ( )

licenseCheck() 공개 메소드

Agile Toolkit provides universal way for checking licenses. If you are building commercial product with Agile Toolkit, then you need to use unique identifier for $software. Provide the name of your public key certificate and also supply md5sum of that certificate as last parameter, to make sure developer wouldn't simply substitute public key with another one. Public key must be bundled along with the release of your software This method will return true / false. If you have multiple public keys (expired ones), you can call this method several times. The information about the private key specifically issued to the user will be stored in configuration file.
public licenseCheck ( $type, $software = 'atk', $pubkey = null, $pubkey_md5 = null )

routePages() 공개 메소드

This routes certain prefixes to an add-on. Call this method explicitly from init() if necessary.
public routePages ( $page_prefix )

프로퍼티 상세

$addon_base_path 공개적으로 프로퍼티

public string|object|array $addon_base_path
리턴 string | object | array

$addon_name 공개적으로 프로퍼티

public string $addon_name
리턴 string

$addon_obj 공개적으로 프로퍼티

object with information from json file
public $addon_obj

$addon_private_locations 공개적으로 프로퍼티

public array $addon_private_locations
리턴 array

$addon_public_locations 공개적으로 프로퍼티

public array $addon_public_locations
리턴 array

$api_var 공개적으로 프로퍼티

public $api_var

$atk_version 공개적으로 프로퍼티

public string $atk_version
리턴 string

$base_path 공개적으로 프로퍼티

???
public $base_path

$has_assets 공개적으로 프로퍼티

public bool $has_assets
리턴 boolean

$location 공개적으로 프로퍼티

public PathFinder_Location $location
리턴 PathFinder_Location

$namespace 공개적으로 프로퍼티

public string $namespace
리턴 string

$with_pages 공개적으로 프로퍼티

public bool $with_pages
리턴 boolean