JournalEntryController
extends Controller
in package
Uses
Audited
Add traits common to all controllers
Table of Contents
- add() : JournalEntry
- Add an entry to the journal.
- delete() : mixed
- Delete an entry and reverse balance changes.
- get() : JournalEntry
- Fetch a Journal Entry.
- lock() : JournalEntry
- Place a lock on a journal entry.
- query() : Collection
- Process a query request.
- run() : JournalEntry|null
- Perform a Journal Entry operation.
- update() : JournalEntry
- Update a Journal Entry.
Methods
add()
Add an entry to the journal.
public
add(Entry $message) : JournalEntry
Parameters
- $message : Entry
Tags
Return values
JournalEntry —delete()
Delete an entry and reverse balance changes.
public
delete(Entry $message) : mixed
Parameters
- $message : Entry
Tags
Return values
mixed —get()
Fetch a Journal Entry.
public
get(Entry $message) : JournalEntry
Parameters
- $message : Entry
Tags
Return values
JournalEntry —lock()
Place a lock on a journal entry.
public
lock(Entry $message) : JournalEntry
Parameters
- $message : Entry
Tags
Return values
JournalEntry —query()
Process a query request.
public
query(EntryQuery $message, int $opFlags) : Collection
Parameters
- $message : EntryQuery
- $opFlags : int
Tags
Return values
Collection —Collection contains JournalEntry records.
run()
Perform a Journal Entry operation.
public
run(Entry $message[, int|null $opFlags = null ]) : JournalEntry|null
Parameters
- $message : Entry
- $opFlags : int|null = null
Tags
Return values
JournalEntry|null —update()
Update a Journal Entry.
public
update(Entry $message) : JournalEntry
Parameters
- $message : Entry