Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108087984
PhabricatorConfigManualActivity.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Apr 14, 03:33
Size
904 B
Mime Type
text/x-php
Expires
Wed, Apr 16, 03:33 (2 d)
Engine
blob
Format
Raw Data
Handle
25519550
Attached To
rPH Phabricator
PhabricatorConfigManualActivity.php
View Options
<?php
final
class
PhabricatorConfigManualActivity
extends
PhabricatorConfigEntryDAO
{
protected
$activityType
;
protected
$parameters
=
array
();
const
TYPE_REINDEX
=
'reindex'
;
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
);
}
}
Event Timeline
Log In to Comment