Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123172778
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
Fri, Jul 25, 11:34
Size
904 B
Mime Type
text/x-php
Expires
Sun, Jul 27, 11:34 (2 d)
Engine
blob
Format
Raw Data
Handle
27653991
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