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
$downloadTable
protected ?\com\setasign\SetaFramework\Database\JoinedTable\JoinedTable History::$downloadTable
$eventTable
protected ?\com\setasign\SetaFramework\Database\JoinedTable\JoinedTable History::$eventTable
$importTable
protected ?\com\setasign\SetaFramework\Database\JoinedTable\JoinedTable History::$importTable
$joinedUpdateTable
protected ?\com\setasign\SetaFramework\Database\JoinedTable\JoinedTable History::$joinedUpdateTable
$origin
protected null|int|Custom\DataoriginObject History::$origin
$tableFactory
protected History::$tableFactory
$updateTable
protected ?\com\setasign\SetaFramework\Database\Table\Table History::$updateTable
Methods
__construct()
public History::__construct (
\com\setasign\SetaFramework\Database\TableFactoryInterface $tableFactory
)History constructor.
Parameters
- $tableFactory : \com\setasign\SetaFramework\Database\TableFactoryInterface
addDownload()
Adds a download history entry.
Parameters
- $objectId : int
- $field : string
- $file : string
getCreator()
Parameters
- $objectFinder : ObjectFinder
- $objectId : int
getDownloadTable()
public History::getDownloadTable (
void
): \com\setasign\SetaFramework\Database\JoinedTable\JoinedTablegetEventTable()
public History::getEventTable (
void
): \com\setasign\SetaFramework\Database\JoinedTable\JoinedTablegetImportTable()
public History::getImportTable (
void
): \com\setasign\SetaFramework\Database\JoinedTable\JoinedTablegetJoinedUpdateTable()
public History::getJoinedUpdateTable (
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
