Index
-
\com\setasign\Konquadrat
-
Object
- AbstractCachingDocument
- AbstractObject
- AbstractObjectInterface
- AbstractObjectSet
- Action
- ActionResolver
- ActionResolverInterface
- Custom
- Database
- DocumentInterface
- DocumentResolver
- DocumentResolverInterface
- GlobalDiWakeupObjectResolver
- History
- ImportInterface
- InitTraitResolver
- InitTraitResolverInterface
- InstancePool
- InstancePoolInterface
- InstancePoolManager
- ManualQueryBuilder
- MassActionResolver
- MassActionResolverInterface
- MessageList
- MissingConfigurationException
- ObjectConfig
- ObjectFactory
- ObjectFactoryInterface
- ObjectFinder
- ObjectManager
- ObjectSaveException
- ObjectSet
- ObjectSet
- ObjectTableManager
- Scope
- Selector
- SmartObjectSet
- TemporaryReference
- TransactionManager
- UnknownObjectException
- WakeupObjectResolverInterface
-
Object
com\setasign\Konquadrat\Object
History Class History
File: /Konquadrat/src/Object/History.php
Class hierarchy
Summary
Methods
- __construct()
- addConfigRead()
- addCreate()
- addDownload()
- addEvent()
- addImport()
- addUpdate()
- getCreator()
- getCreatorId()
- getDownloadTable()
- getEventTable()
- getImportTable()
- getJoinedUpdateTable()
- getLastChange()
- getLastEditor()
- getLastEditorId()
- getOrigin()
- getTable()
- getTaskId()
- getUpdateDetails()
- getUpdateTable()
- getUserIp()
- processWithTemporaryOrigin()
- setOrigin()
- setTaskId()
- showHistory()
Constants
ACTION_CONFIG_READ
ACTION_CREATE
ACTION_DOWNLOAD_FILE
ACTION_EVENT
ACTION_IMPORT
ACTION_UPDATE
ACTION_VIEW
Properties
$origin
protected null|int|Custom\DataoriginObject History::$origin
$tableFactory
protected History::$tableFactory
Methods
__construct()
public History::__construct ()
History constructor.
Parameters
- $tableFactory: \com\setasign\SetaFramework\Database\TableFactoryInterface
getCreator()
Parameters
- $objectFinder: ObjectFinder
- $objectId: int
getEventTable()
public History::getEventTable (
void
): \com\setasign\SetaFramework\Database\JoinedTable\JoinedTablegetLastEditor()
Parameters
- $objectFinder: ObjectFinder
- $objectId: int
processWithTemporaryOrigin()
Sets the origin, the ip and the taskId and calls the callback. This method will ALWAYS reset the origin, the ip and the taskId to the previous value after.
Parameters
- $origin: null|Custom\DataoriginObject|int
- $ip: ?string
- $taskId: string
- $callback: callable
setOrigin()
Sets the actual origin and ip. This method will always set both if one parameter is null it will be reset.
Parameters
- $origin: null|Custom\DataoriginObject|int
- $ip: ?string
