PHP Interface Bravo3\Orm\Proxy\OrmProxyInterface

Inheritance: extends ProxyManager\Proxy\LazyLoadingInterface
Afficher le fichier Open project: bravo3/orm Interface Usage Examples

Méthodes publiques

Méthode Description
getIndexOriginalValue ( string $name ) : string Get an indexes original value
getOriginalId ( ) : string Get the original ID
isRelativeModified ( string $name ) : boolean Check if a relationship has been modified
setEntityPersisted ( string $id ) Sets the entity to a persisted state
setIndexOriginalValue ( string $name, string $value ) Set an indexes original value
setOriginalId ( string $value ) Set the original ID
setRelativeModified ( string $name ) Mark a relationship as modified

Method Details

getIndexOriginalValue() public méthode

Get an indexes original value
public getIndexOriginalValue ( string $name ) : string
$name string
Résultat string

getOriginalId() public méthode

Get the original ID
public getOriginalId ( ) : string
Résultat string

isRelativeModified() public méthode

Check if a relationship has been modified
public isRelativeModified ( string $name ) : boolean
$name string
Résultat boolean

setEntityPersisted() public méthode

Clears all modification flags and updates the original ID marker, as if the entity was freshly retrieved.
public setEntityPersisted ( string $id )
$id string

setIndexOriginalValue() public méthode

Set an indexes original value
public setIndexOriginalValue ( string $name, string $value )
$name string
$value string

setOriginalId() public méthode

Set the original ID
public setOriginalId ( string $value )
$value string

setRelativeModified() public méthode

Mark a relationship as modified
public setRelativeModified ( string $name )
$name string