Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92242126
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
Mon, Nov 18, 16:33
Size
973 B
Mime Type
text/x-php
Expires
Wed, Nov 20, 16:33 (2 d)
Engine
blob
Format
Raw Data
Handle
22402522
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