Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110933478
DifferentialStoredCustomField.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 28, 20:54
Size
909 B
Mime Type
text/x-php
Expires
Wed, Apr 30, 20:54 (2 d)
Engine
blob
Format
Raw Data
Handle
25857535
Attached To
rPH Phabricator
DifferentialStoredCustomField.php
View Options
<?php
abstract
class
DifferentialStoredCustomField
extends
DifferentialCustomField
{
private
$value
;
public
function
setValue
(
$value
)
{
$this
->
value
=
$value
;
return
$this
;
}
public
function
getValue
()
{
return
$this
->
value
;
}
public
function
shouldUseStorage
()
{
return
true
;
}
public
function
newStorageObject
()
{
return
new
DifferentialCustomFieldStorage
();
}
protected
function
newStringIndexStorage
()
{
return
new
DifferentialCustomFieldStringIndex
();
}
protected
function
newNumericIndexStorage
()
{
return
new
DifferentialCustomFieldNumericIndex
();
}
public
function
getValueForStorage
()
{
return
$this
->
value
;
}
public
function
setValueFromStorage
(
$value
)
{
$this
->
value
=
$value
;
return
$this
;
}
public
function
setValueFromApplicationTransactions
(
$value
)
{
$this
->
setValue
(
$value
);
return
$this
;
}
}
Event Timeline
Log In to Comment