public
string
|
#
getName( )
Returns the name of the package.
Returns the name of the package.
Returns
string Name
|
|
public
rex_addon
|
#
getAddon( )
Returns the related Addon.
Returns the related Addon.
Returns
|
|
public
string
|
|
|
public
string
|
#
getType( )
Returns the package type as string.
Returns the package type as string.
Returns
string string
|
|
public
|
#
getPath( string $file = '' )
Returns the base path.
Parameters
|
|
public
|
#
getAssetsPath( string $file = '' )
Returns the assets path.
Parameters
|
|
public
|
#
getAssetsUrl( string $file = '' )
Returns the assets url.
Parameters
|
|
public
|
#
getDataPath( string $file = '' )
Returns the data path.
Parameters
|
|
public
|
#
getCachePath( string $file = '' )
Returns the cache path.
Parameters
|
|
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
|
|
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
|
|
public
boolean
|
#
hasProperty( string $key )
Returns if a property is set.
Returns if a property is set.
Parameters
Returns
boolean bool
|
|
public
|
|
|
public
boolean
|
#
isAvailable( )
Returns if the package is available (activated and installed).
Returns if the package is available (activated and installed).
Returns
boolean bool
|
|
public
boolean
|
#
isInstalled( )
Returns if the package is installed.
Returns if the package is installed.
Returns
boolean bool
|
|
public
boolean
|
#
isSystemPackage( )
Returns if it is a system package.
Returns if it is a system package.
Returns
boolean bool
|
|
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
|
|
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
|
|
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
|
|
public
|
#
includeFile( string $file )
Includes a file in the package context.
Includes a file in the package context.
Parameters
|
|
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
|
|