Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F464800
PhabricatorConfigManualActivity.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
945 B
Referenced Files
None
Subscribers
None
PhabricatorConfigManualActivity.php
View Options
<?php
final
class
PhabricatorConfigManualActivity
extends
PhabricatorConfigEntryDAO
{
protected
$activityType
;
protected
$parameters
=
array
();
const
TYPE_REINDEX
=
'reindex'
;
const
TYPE_IDENTITIES
=
'identities'
;
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_SERIALIZATION
=>
array
(
'parameters'
=>
self
::
SERIALIZATION_JSON
,
),
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'activityType'
=>
'text64'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_type'
=>
array
(
'columns'
=>
array
(
'activityType'
),
'unique'
=>
true
,
),
),
)
+
parent
::
getConfiguration
();
}
public
function
setParameter
(
$key
,
$value
)
{
$this
->
parameters
[
$key
]
=
$value
;
return
$this
;
}
public
function
getParameter
(
$key
,
$default
=
null
)
{
return
idx
(
$this
->
parameters
,
$key
,
$default
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 9:57 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
74215
Default Alt Text
PhabricatorConfigManualActivity.php (945 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment