PHP Класс Controller_Addon, atk4

Наследование: extends AbstractController
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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