Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91102265
PhabricatorCustomFieldInterface.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, Nov 7, 22:23
Size
973 B
Mime Type
text/x-php
Expires
Sat, Nov 9, 22:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22195666
Attached To
rPH Phabricator
PhabricatorCustomFieldInterface.php
View Options
<?php
interface
PhabricatorCustomFieldInterface
{
public
function
getCustomFieldBaseClass
();
public
function
getCustomFieldSpecificationForRole
(
$role
);
public
function
getCustomFields
();
public
function
attachCustomFields
(
PhabricatorCustomFieldAttachment
$fields
);
}
// TEMPLATE IMPLEMENTATION /////////////////////////////////////////////////////
/* -( PhabricatorCustomFieldInterface )------------------------------------ */
/*
private $customFields = self::ATTACHABLE;
public function getCustomFieldSpecificationForRole($role) {
return PhabricatorEnv::getEnvConfig(<<<'application.fields'>>>);
}
public function getCustomFieldBaseClass() {
return <<<<'YourApplicationHereCustomField'>>>>;
}
public function getCustomFields() {
return $this->assertAttached($this->customFields);
}
public function attachCustomFields(PhabricatorCustomFieldAttachment $fields) {
$this->customFields = $fields;
return $this;
}
*/
Event Timeline
Log In to Comment