Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102437250
PhabricatorCustomFieldImplementationIncompleteException.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
Thu, Feb 20, 17:32
Size
702 B
Mime Type
text/x-php
Expires
Sat, Feb 22, 17:32 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24356960
Attached To
rPH Phabricator
PhabricatorCustomFieldImplementationIncompleteException.php
View Options
<?php
final
class
PhabricatorCustomFieldImplementationIncompleteException
extends
Exception
{
public
function
__construct
(
PhabricatorCustomField
$field
,
$field_key_is_incomplete
=
false
)
{
if
(
$field_key_is_incomplete
)
{
$key
=
pht
(
'<incomplete key>'
);
$name
=
pht
(
'<incomplete name>'
);
}
else
{
$key
=
$field
->
getFieldKey
();
$name
=
$field
->
getFieldName
();
}
$class
=
get_class
(
$field
);
parent
::
__construct
(
"Custom field '{$name}' (with key '{$key}', of class '{$class}') is "
.
"incompletely implemented: it claims to support a feature, but does not "
.
"implement all of the required methods for that feature."
);
}
}
Event Timeline
Log In to Comment