Class Module
Module
- XLite\Model\AEntity
-
XLite\Model\Module
Namespace: XLite\Model
Since: 1.0.0
See: ____class_see____
Entity: (repositoryClass="\XLite\Model\Repo\Module")
HasLifecycleCallbacks
Index: (name="enabled", columns={"enabled"}),
Index: (name="date", columns={"date"}),
Index: (name="downloads", columns={"downloads"}),
Index: (name="rating", columns={"rating"}) } )
Table: (name="modules", uniqueConstraints={
UniqueConstraint: (name="moduleVersion", columns={"author","name","majorVersion","minorVersion","fromMarketplace"}) }, indexes={
Located at XLite/Model/Module.php
Since: 1.0.0
See: ____class_see____
Entity: (repositoryClass="\XLite\Model\Repo\Module")
HasLifecycleCallbacks
Index: (name="enabled", columns={"enabled"}),
Index: (name="date", columns={"date"}),
Index: (name="downloads", columns={"downloads"}),
Index: (name="rating", columns={"rating"}) } )
Table: (name="modules", uniqueConstraints={
UniqueConstraint: (name="moduleVersion", columns={"author","name","majorVersion","minorVersion","fromMarketplace"}) }, indexes={
Located at XLite/Model/Module.php
public
string
|
|
public
mixed
|
#
callModuleMethod( string $method, mixed $result = null, array $args = array() )
Method to call functions from module main classes |
protected
boolean
|
|
public
string
|
|
public
string
|
|
public
boolean
|
|
public
string
|
|
public
array
|
#
getDependencyModules( mixed $onlyDisabled = false )
Get list of dependency modules as Doctrine entities |
public
array
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array
|
|
public
string
|
|
public
|
__call(),
__construct(),
__get(),
__set(),
__unset(),
checkCache(),
cloneEntity(),
create(),
delete(),
detach(),
getMethodName(),
getRepository(),
getUniqueIdentifier(),
isPersistent(),
map(),
prepareEntityBeforeCommit(),
update()
|
ACTION_DELETE,
ACTION_INSERT,
ACTION_UPDATE
|
protected
integer
|
$moduleID | |
#
Module ID |
protected
string
|
$name | |
#
Name |
protected
string
|
$author | |
#
Author |
protected
boolean
|
$enabled | false |
#
Enabled |
protected
boolean
|
$installed | false |
#
Installed status |
protected
integer
|
$date | 0 |
#
Order creation timestamp |
protected
float
|
$rating | 0 |
#
Rating |
protected
integer
|
$votes | 0 |
#
Votes |
protected
integer
|
$downloads | 0 |
#
Downloads |
protected
float
|
$price | 0.00 |
#
Price |
protected
string
|
$currency | 'USD' |
#
Currency code |
protected
string
|
$majorVersion | |
#
Major version |
protected
string
|
$minorVersion | |
#
Minor version |
protected
integer
|
$revisionDate | 0 |
#
Revision date |
protected
integer
|
$packSize | 0 |
#
Module pack size (received from marketplace) |
protected
string
|
$moduleName | |
#
Module name |
protected
string
|
$authorName | |
#
Author name |
protected
string
|
$description | '' |
#
Description |
protected
string
|
$iconURL | '' |
#
Icon URL |
protected
string
|
$pageURL | '' |
#
Icon URL |
protected
string
|
$authorPageURL | '' |
#
Icon URL |
protected
array
|
$dependencies | array() |
#
Module dependencies |
protected
boolean
|
$fromMarketplace | false |
#
Flag |
protected
string
|
$marketplaceID | |
#
Public identifier (cache) |
$cacheEnabled,
$methodNames
|