Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98211741
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
Sat, Jan 11, 02:40
Size
945 B
Mime Type
text/x-php
Expires
Mon, Jan 13, 02:40 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
23529977
Attached To
rPH Phabricator
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
);
}
}
Event Timeline
Log In to Comment