PHP Class Doctrine\OXM\Persisters\RootXmlEntityPersister

Afficher le fichier Open project: doctrine/oxm

Méthodes publiques

Méthode Description
__construct ( XmlEntityManager $xem, ClassMetadata $metadata )
delete ( $xmlEntity, array $options = [] )
exists ( object $xmlEntity ) : boolean
insert ( $xmlEntity ) : boolean | integer Inserts this xml entity into the storage system
load ( $id )
update ( $xmlEntity ) : boolean | integer Updates this xml entity in the storage system

Method Details

__construct() public méthode

public __construct ( XmlEntityManager $xem, ClassMetadata $metadata )
$xem Doctrine\OXM\XmlEntityManager
$metadata Doctrine\OXM\Mapping\ClassMetadata

delete() public méthode

public delete ( $xmlEntity, array $options = [] )
$options array

exists() public méthode

public exists ( object $xmlEntity ) : boolean
$xmlEntity object
Résultat boolean

insert() public méthode

Inserts this xml entity into the storage system
public insert ( $xmlEntity ) : boolean | integer
$xmlEntity
Résultat boolean | integer

load() public méthode

public load ( $id )

update() public méthode

Updates this xml entity in the storage system
public update ( $xmlEntity ) : boolean | integer
$xmlEntity
Résultat boolean | integer