PHP Class Pimcore\Model\Version

Inheritance: extends AbstractModel
Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Méthodes publiques

Свойство Type Description
$cid integer
$ctype string
$data mixed
$date integer
$disabled boolean
$id integer
$note string
$public boolean
$serialized boolean
$user User
$userId integer

Méthodes publiques

Méthode Description
cleanHistory ( ) : void the cleanup is now done in the maintenance see self::maintenanceCleanUp()
delete ( ) : void
disable ( ) : void disables the versioning for the current process, this is useful for importers, .
enable ( ) : void see @ self::disable() just enabled the creation of versioning in the current process
getById ( integer $id ) : Version
getCid ( ) : integer
getCtype ( ) : string
getData ( ) : mixed
getDate ( ) : integer
getId ( ) : integer
getNote ( ) : string
getPublic ( ) : boolean
getSerialized ( ) : boolean
getUser ( ) : User
getUserId ( ) : integer
isPublic ( ) : boolean
loadData ( ) : mixed Object
maintenanceCleanUp ( )
maintenanceCompress ( )
save ( ) : void
setCid ( $cid )
setCtype ( string $ctype ) : void
setData ( mixed $data ) : void
setDate ( integer $date )
setId ( integer $id ) : void
setNote ( string $note ) : void
setPublic ( boolean $public ) : void
setSerialized ( boolean $serialized ) : void
setUser ( User $user ) : void
setUserId ( integer $userId ) : void

Méthodes protégées

Méthode Description
getBinaryFilePath ( ) : string
getFilePath ( ) : string Returns the path on the file system
getLegacyFilePath ( ) : string

Method Details

cleanHistory() public méthode

the cleanup is now done in the maintenance see self::maintenanceCleanUp()
Deprecation:
public cleanHistory ( ) : void
Résultat void

delete() public méthode

public delete ( ) : void
Résultat void

disable() public static méthode

.. There are no new versions created, the read continues to operate normally
public static disable ( ) : void
Résultat void

enable() public static méthode

see @ self::disable() just enabled the creation of versioning in the current process
public static enable ( ) : void
Résultat void

getBinaryFilePath() protected méthode

protected getBinaryFilePath ( ) : string
Résultat string

getById() public static méthode

public static getById ( integer $id ) : Version
$id integer
Résultat Version

getCid() public méthode

public getCid ( ) : integer
Résultat integer

getCtype() public méthode

public getCtype ( ) : string
Résultat string

getData() public méthode

public getData ( ) : mixed
Résultat mixed

getDate() public méthode

public getDate ( ) : integer
Résultat integer

getFilePath() protected méthode

Returns the path on the file system
protected getFilePath ( ) : string
Résultat string

getId() public méthode

public getId ( ) : integer
Résultat integer

getLegacyFilePath() protected méthode

protected getLegacyFilePath ( ) : string
Résultat string

getNote() public méthode

public getNote ( ) : string
Résultat string

getPublic() public méthode

public getPublic ( ) : boolean
Résultat boolean

getSerialized() public méthode

public getSerialized ( ) : boolean
Résultat boolean

getUser() public méthode

public getUser ( ) : User
Résultat User

getUserId() public méthode

public getUserId ( ) : integer
Résultat integer

isPublic() public méthode

public isPublic ( ) : boolean
Résultat boolean

loadData() public méthode

Object
public loadData ( ) : mixed
Résultat mixed

maintenanceCleanUp() public méthode

public maintenanceCleanUp ( )

maintenanceCompress() public méthode

public maintenanceCompress ( )

save() public méthode

public save ( ) : void
Résultat void

setCid() public méthode

public setCid ( $cid )

setCtype() public méthode

public setCtype ( string $ctype ) : void
$ctype string
Résultat void

setData() public méthode

public setData ( mixed $data ) : void
$data mixed
Résultat void

setDate() public méthode

public setDate ( integer $date )
$date integer

setId() public méthode

public setId ( integer $id ) : void
$id integer
Résultat void

setNote() public méthode

public setNote ( string $note ) : void
$note string
Résultat void

setPublic() public méthode

public setPublic ( boolean $public ) : void
$public boolean
Résultat void

setSerialized() public méthode

public setSerialized ( boolean $serialized ) : void
$serialized boolean
Résultat void

setUser() public méthode

public setUser ( User $user ) : void
$user User
Résultat void

setUserId() public méthode

public setUserId ( integer $userId ) : void
$userId integer
Résultat void

Property Details

$cid public_oe property

public int $cid
Résultat integer

$ctype public_oe property

public string $ctype
Résultat string

$data public_oe property

public mixed $data
Résultat mixed

$date public_oe property

public int $date
Résultat integer

$disabled public_oe static_oe property

public static bool $disabled
Résultat boolean

$id public_oe property

public int $id
Résultat integer

$note public_oe property

public string $note
Résultat string

$public public_oe property

public bool $public
Résultat boolean

$serialized public_oe property

public bool $serialized
Résultat boolean

$user public_oe property

public User,Pimcore\Model $user
Résultat User

$userId public_oe property

public int $userId
Résultat integer