public
string
|
#
getName( )
Returns the name of the package.
Returns the name of the package.
Returns
string Name
Implementation of
|
|
public
rex_addon
|
#
getAddon( )
Returns the related Addon.
Returns the related Addon.
Returns
Implementation of
|
|
public
string
|
#
getPackageId( )
Returns the package ID.
Returns
string string
Implementation of
|
|
public
|
#
getPath( string $file = '' )
Returns the base path.
Parameters
Implementation of
|
|
public
|
#
getAssetsPath( string $file = '' )
Returns the assets path.
Parameters
Implementation of
|
|
public
|
#
getAssetsUrl( string $file = '' )
Returns the assets url.
Parameters
Implementation of
|
|
public
|
#
getDataPath( string $file = '' )
Returns the data path.
Parameters
Implementation of
|
|
public
|
#
getCachePath( string $file = '' )
Returns the cache path.
Parameters
Implementation of
|
|
public
|
|
|
public
|
#
getConfig( mixed $key = null, mixed $default = null )
|
|
public
|
|
|
public
|
|
|
public
|
#
setProperty( string $key, mixed $value )
Sets a property.
Parameters
- $key
- Key of the property
- $value
- New value for the property
Implementation of
|
|
public
mixed
|
#
getProperty( string $key, mixed $default = null )
Returns a property.
Parameters
- $key
- Key of the property
- $default
- Default value, will be returned if the property isn't set
Returns
mixed mixed
Implementation of
|
|
public
boolean
|
#
hasProperty( string $key )
Returns if a property is set.
Returns if a property is set.
Parameters
Returns
boolean bool
Implementation of
|
|
public
|
#
removeProperty( string $key )
Removes a property.
Parameters
Implementation of
|
|
public
boolean
|
#
isAvailable( )
Returns if the package is available (activated and installed).
Returns if the package is available (activated and installed).
Returns
boolean bool
Implementation of
|
|
public
boolean
|
#
isInstalled( )
Returns if the package is installed.
Returns if the package is installed.
Returns
boolean bool
Implementation of
|
|
public
boolean
|
#
isSystemPackage( )
Returns if it is a system package.
Returns if it is a system package.
Returns
boolean bool
Implementation of
|
|
public
mixed
|
#
getAuthor( mixed $default = null )
Returns the author.
Parameters
- $default
- Default value, will be returned if the property isn't set
Returns
mixed mixed
Implementation of
|
|
public
mixed
|
#
getVersion( string $format = null )
Returns the version.
Parameters
- $format
- See <code><a href="class-rex_formatter.html#_version">rex_formatter::version()</a></code>
Returns
mixed mixed
Implementation of
|
|
public
mixed
|
#
getSupportPage( mixed $default = null )
Returns the supportpage.
Parameters
- $default
- Default value, will be returned if the property isn't set
Returns
mixed mixed
Implementation of
|
|
public
|
#
includeFile( string $file, array $context = [] )
Includes a file in the package context.
Includes a file in the package context.
Parameters
Implementation of
|
|
public
string
|
#
i18n( string $key )
Adds the package prefix to the given key and returns the translation for
it.
Adds the package prefix to the given key and returns the translation for
it.
Parameters
Returns
string Translation for the key
Implementation of
|
|