Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F464225
MultimeterDimension.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
660 B
Referenced Files
None
Subscribers
None
MultimeterDimension.php
View Options
<?php
abstract
class
MultimeterDimension
extends
MultimeterDAO
{
protected
$name
;
protected
$nameHash
;
public
function
setName
(
$name
)
{
$this
->
nameHash
=
PhabricatorHash
::
digestForIndex
(
$name
);
return
parent
::
setName
(
$name
);
}
protected
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_TIMESTAMPS
=>
false
,
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'name'
=>
'text'
,
'nameHash'
=>
'bytes12'
,
),
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_hash'
=>
array
(
'columns'
=>
array
(
'nameHash'
),
'unique'
=>
true
,
),
),
)
+
parent
::
getConfiguration
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 8:47 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
73691
Default Alt Text
MultimeterDimension.php (660 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment