PHP Class Doctrine\OXM\Persisters\RootXmlEntityPersister

显示文件 Open project: doctrine/oxm

Public Methods

Method 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 method

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

delete() public method

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

exists() public method

public exists ( object $xmlEntity ) : boolean
$xmlEntity object
return boolean

insert() public method

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

load() public method

public load ( $id )

update() public method

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