Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F983351
ReleephEvent.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
865 B
Referenced Files
None
Subscribers
None
ReleephEvent.php
View Options
<?php
final
class
ReleephEvent
extends
ReleephDAO
{
const
TYPE_BRANCH_CREATE
=
'branch-create'
;
const
TYPE_BRANCH_ACCESS
=
'branch-access-change'
;
protected
$releephProjectID
;
protected
$releephBranchID
;
protected
$type
;
protected
$epoch
;
protected
$actorPHID
;
protected
$details
=
array
();
public
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_SERIALIZATION
=>
array
(
'details'
=>
self
::
SERIALIZATION_JSON
,
),
)
+
parent
::
getConfiguration
();
}
public
function
getDetail
(
$key
,
$default
=
null
)
{
return
idx
(
$this
->
details
,
$key
,
$default
);
}
public
function
setDetail
(
$key
,
$value
)
{
$this
->
details
[
$key
]
=
$value
;
return
$this
;
}
protected
function
willSaveObject
()
{
parent
::
willSaveObject
();
if
(!
$this
->
epoch
)
{
$this
->
epoch
=
$this
->
dateCreated
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Jun 18, 2:14 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
236928
Default Alt Text
ReleephEvent.php (865 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment