Property summary
Modifier and Type | Property |
---|---|
protected | subEiTypes |
Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( string id , Module moduleNamespace ) |
public | setEntityModel ( EntityModel entityModel ) |
public EntityModel | getEntityModel ( ) |
public | setSuperEiType ( EiType superEiType ) |
public EiType | getSuperEiType ( ) |
public boolean | hasSuperEiType ( ) |
public EiType | getSupremeEiType ( ) |
public | getAllSuperEiTypes ( unknown includeSelf = false ) |
public boolean | hasSubEiTypes ( ) |
public EiType [] | getSubEiTypes ( ) |
public | containsSubEiTypeId ( string eiTypeId , bool deepCheck = false ) |
public EiType [] | getAllSubEiTypes ( ) |
public | findEiTypeByEntityModel ( EntityModel entityModel ) |
public EiType | determineEiType ( EntityModel entityModel ) |
public | determineAdequateEiType ( ReflectionClass class ) |
public | hasSecurityOptions ( ) |
public | getPrivilegeOptions ( N2nContext n2nContext ) |
public | isObjectValid ( unknown object ) |
public EiMask | getEiMask ( ) |
public | setDataSourceName ( string dataSourceName ) |
public string | getDataSourceName ( ) |
public NestedSetStrategy | getNestedSetStrategy ( ) |
public | setNestedSetStrategy ( NestedSetStrategy|null nestedSetStrategy ) |
public EntityManager | lookupEntityManager ( PdoPool dbhPool , unknown transactional = false ) |
public EntityManagerFactory | lookupEntityManagerFactory ( PdoPool dbhPool ) |
public mixed | extractId ( object entityObj ) |
public string | idToPid ( mixed id ) |
public mixed | pidToId ( string pid ) |
public EiTypeExtensionCollection | getEiTypeExtensionCollection ( ) |
public | __toString ( ) |
public | isAbstract ( ) |
public | registerVetoableActionListener ( EiLifecycleListener eiLifecycleListener ) |
public | unregisterVetoableActionListener ( EiLifecycleListener eiLifecycleListener ) |
public | validateLifecycleAction ( VetoableLifecycleAction vetoableLifecycleAction , N2nContext n2nContext ) |
Properties in detail
-
subEiTypes
protected subEiTypes
Methods in detail
-
__construct
Overrides: Type::__construct() -
setEntityModel
-
getEntityModel
EntityModel public getEntityModel ( )return
-
setSuperEiType
param
-
getSuperEiType
EiType public getSuperEiType ( )return
-
hasSuperEiType
boolean public hasSuperEiType ( )return
boolean -
getSupremeEiType
EiType public getSupremeEiType ( )return
-
getAllSuperEiTypes
public getAllSuperEiTypes ( unknown includeSelf = false ) -
hasSubEiTypes
boolean public hasSubEiTypes ( )return
boolean -
getSubEiTypes
EiType public getSubEiTypes ( )return
-
containsSubEiTypeId
public containsSubEiTypeId ( string eiTypeId , bool deepCheck = false ) -
getAllSubEiTypes
EiType public getAllSubEiTypes ( )return
-
findEiTypeByEntityModel
-
determineEiType
-
determineAdequateEiType
public determineAdequateEiType ( ReflectionClass class ) -
hasSecurityOptions
public hasSecurityOptions ( ) -
getPrivilegeOptions
-
isObjectValid
public isObjectValid ( unknown object ) -
getEiMask
EiMask public getEiMask ( )return
-
setDataSourceName
public setDataSourceName ( string dataSourceName )param
string dataSourceName -
getDataSourceName
string public getDataSourceName ( )return
string -
getNestedSetStrategy
NestedSetStrategy public getNestedSetStrategy ( )return
-
setNestedSetStrategy
public setNestedSetStrategy ( NestedSetStrategy|null nestedSetStrategy )param
NestedSetStrategy|null nestedSetStrategy -
lookupEntityManager
-
lookupEntityManagerFactory
-
extractId
mixed public extractId ( object entityObj )param
object entityObjreturn
mixed -
idToPid
string public idToPid ( mixed id )Converts the id of an entity object of this EiType into a pid. In rocket pid stands for Practical Identifier
. Ids of entities can have diffrent types which isn't practical.
Pids are always strings which can't contain slashes or backslashes. This allowes a pid to be used in a url path (most servers can't handle urlencoded slashes in paths).
Note: This method currently uses
urlencode()
to mask slashes and backslahes which could change in further versions. If you want to embed a pid in a url you stil have to encode it even if this means that a pid gets urlencoded a second time. -
pidToId
mixed public pidToId ( string pid )Converts a pid back to an id. EiType::idToPid() for further informations.
-
getEiTypeExtensionCollection
EiTypeExtensionCollection public getEiTypeExtensionCollection ( ) -
__toString
public __toString ( ) -
isAbstract
public isAbstract ( ) -
registerVetoableActionListener
-
unregisterVetoableActionListener
-
validateLifecycleAction
public validateLifecycleAction ( VetoableLifecycleAction vetoableLifecycleAction , N2nContext n2nContext )
param