Class EntityUtil
Description of EntityUtils
Namespace: Mapbender\CoreBundle\Utils
Author: Paul Schmidt
Located at Mapbender/CoreBundle/Utils/EntityUtil.php
Author: Paul Schmidt
Located at Mapbender/CoreBundle/Utils/EntityUtil.php
Methods summary
public static
string
|
#
getUniqueValue( Doctrine\ORM\EntityManager $em, string $entityName, string $uniqueField, string $toUniqueValue, string $suffix = "" )
Returns an unique value for an unique field. |
public static
string
|
#
getRealClass( mixed $entity )
Gets the real class name of an object that could be an object of proxy class. |
public static
string
|
#
getGetter( mixed $entity, string $property )
Returns a "getter" method name for an property equal to Doctrine conventions. |
public static
string
|
#
getValueFromGetter( mixed $entity, string $property )
Returns a "getter" method name for an property equal to Doctrine conventions. |
public static
string
|
#
getSetter( mixed $entity, string $property )
Returns a "getter" method name for an property equal to Doctrine conventions. |
public static
|
|
public static
integer|string
|
|
public static
null|
|
|
public static
null|
|
|
public static
null|
|
Magic methods summary
Constants summary
string |
GET
|
# 'get' |
string |
SET
|
# 'set' |
string |
ADD
|
# 'add' |
string |
HAS
|
# 'has' |
string |
IS
|
# 'is' |
string |
GETTER
|
# 'getter' |
string |
SETTER
|
# 'setter' |
string |
TOSET
|
# 'toset' |
string |
HAS_METHOD
|
# 'hasMethod' |
string |
IS_METHOD
|
# 'isMethod' |