프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
public addLocation ( $contents, $public_contents = null ) |
public licenseCheck ( $type, $software = 'atk', $pubkey = null, $pubkey_md5 = null ) |
public routePages ( $page_prefix ) |