final public function setViewer($viewer)Inherited
PhabricatorUser | $viewer |
wild |
final public function getViewer()Inherited
wild |
final public function setController($controller)Inherited
PhabricatorController | $controller |
wild |
final public function getController()Inherited
wild |
final public function getEngineKey()Inherited
wild |
final public function getApplication()Inherited
wild |
final public function addContextParameter($key)Inherited
$key |
wild |
public function isEngineConfigurable()
wild |
public function isEngineExtensible()Inherited
wild |
public function isDefaultQuickCreateEngine()Inherited
wild |
public function getDefaultQuickCreateFormKeys()Inherited
wild |
public static function splitFullKey($full_key)Inherited
$full_key |
wild |
public function getQuickCreateOrderVector()Inherited
wild |
public function setTargetObject($target_object)Inherited
Force the engine to edit a particular object.
$target_object |
wild |
public function getTargetObject()Inherited
wild |
public function setNavigation($navigation)Inherited
AphrontSideNavFilterView | $navigation |
wild |
public function getNavigation()Inherited
wild |
public function getEngineApplicationClass()
wild |
protected function buildCustomEditFields($object)
$object |
wild |
public function getFieldsForConfig($config)Inherited
PhabricatorEditEngineConfiguration | $config |
wild |
final protected function buildEditFields($object)Inherited
$object |
wild |
protected function willConfigureFields($object, $fields)Inherited
$object | ||
array | $fields |
wild |
final public function supportsSubtypes()Inherited
wild |
final public function newSubtypeMap()Inherited
wild |
public function getEngineName()
wild |
protected function getObjectCreateTitleText($object)
$object |
wild |
protected function getFormHeaderText($object)Inherited
$object |
wild |
protected function getObjectEditTitleText($object)
$object |
wild |
protected function getObjectCreateShortText()
wild |
protected function getObjectName()
wild |
protected function getObjectEditShortText($object)
$object |
wild |
protected function getObjectCreateButtonText($object)
$object |
wild |
protected function getObjectEditButtonText($object)Inherited
$object |
wild |
protected function getCommentViewSeriousHeaderText($object)Inherited
$object |
wild |
protected function getCommentViewSeriousButtonText($object)Inherited
$object |
wild |
protected function getCommentViewHeaderText($object)Inherited
$object |
wild |
protected function getCommentViewButtonText($object)Inherited
$object |
wild |
protected function getPageHeader($object)
$object |
wild |
public function getSummaryHeader()
Return a human-readable header describing what this engine is used to do, like "Configure Maniphest Task Forms".
string | Human-readable description of the engine. |
public function getSummaryText()
Return a human-readable summary of what this engine is used to do.
string | Human-readable description of the engine. |
protected function supportsEditEngineConfiguration()Inherited
wild |
final protected function getEditEngineConfiguration()Inherited
wild |
public function newConfigurationQuery()Inherited
wild |
private function loadEditEngineConfigurationWithQuery($query, $sort_method)Inherited
PhabricatorEditEngineConfigurationQuery | $query | |
$sort_method |
wild |
private function loadEditEngineConfigurationWithIdentifier($identifier)Inherited
$identifier |
wild |
private function loadDefaultConfiguration()Inherited
wild |
private function loadDefaultCreateConfiguration()Inherited
wild |
public function loadDefaultEditConfiguration($object)Inherited
$object |
wild |
final public function getBuiltinEngineConfigurations()Inherited
wild |
protected function newBuiltinEngineConfigurations()Inherited
wild |
final protected function newConfiguration()Inherited
wild |
protected function getObjectViewURI($object)
$object |
wild |
protected function getObjectCreateCancelURI($object)
$object |
wild |
protected function getEditorURI()
wild |
protected function getObjectEditCancelURI($object)Inherited
$object |
wild |
public function getCreateURI($form_key)Inherited
$form_key |
wild |
public function getEditURI($object, $path)Inherited
$object | ||
$path |
wild |
public function getEffectiveObjectViewURI($object)Inherited
$object |
wild |
public function getEffectiveObjectEditDoneURI($object)
$object |
wild |
public function getEffectiveObjectEditCancelURI($object)
$object |
wild |
protected function newEditableObject()
Initialize a new object for creation.
object | Newly initialized object. |
protected function newObjectQuery()
Build an empty query for objects.
PhabricatorPolicyAwareQuery | Query. |
final public function getIsCreate()Inherited
Test if this workflow is creating a new object or editing an existing one.
bool | True if a new object is being created. |
protected function newEditableObjectFromConduit($raw_xactions)Inherited
Initialize a new object for object creation via Conduit.
list<wild> | $raw_xactions | Raw transactions. |
object | Newly initialized object. |
protected function newEditableObjectForDocumentation()Inherited
Initialize a new object for documentation creation.
object | Newly initialized object. |
private function setIsCreate($is_create)Inherited
Flag this workflow as a create or edit.
bool | $is_create | True if this is a create workflow. |
this |
private function newObjectFromIdentifier($identifier, $capabilities)Inherited
Try to load an object by ID, PHID, or monogram. This is done primarily to make Conduit a little easier to use.
wild | $identifier | ID, PHID, or monogram. |
list<const> | $capabilities | List of required capability constants, or omit for defaults. |
object | Corresponding editable object. |
private function newObjectFromID($id, $capabilities)Inherited
Load an object by ID.
int | $id | Object ID. |
list<const> | $capabilities | List of required capability constants, or omit for defaults. |
object|null | Object, or null if no such object exists. |
private function newObjectFromPHID($phid, $capabilities)Inherited
Load an object by PHID.
phid | $phid | Object PHID. |
list<const> | $capabilities | List of required capability constants, or omit for defaults. |
object|null | Object, or null if no such object exists. |
private function newObjectFromQuery($query, $capabilities)Inherited
Load an object given a configured query.
PhabricatorPolicyAwareQuery | $query | Configured query. |
list<const> | $capabilities | List of required capability constants, or omit for defaults. |
object|null | Object, or null if no such object exists. |
private function validateObject($object)Inherited
Verify that an object is appropriate for editing.
wild | $object | Loaded value. |
void |
final public function buildResponse()Inherited
wild |
private function buildCrumbs($object, $final)Inherited
$object | ||
$final |
wild |
private function buildEditResponse($object)Inherited
$object |
wild |
protected function newEditResponse($request, $object, $xactions)Inherited
AphrontRequest | $request | |
$object | ||
array | $xactions |
wild |
private function buildEditForm($object, $fields)Inherited
$object | ||
array | $fields |
wild |
protected function willBuildEditForm($object, $fields)Inherited
$object | ||
array | $fields |
wild |
private function buildEditFormActionButton($object)Inherited
$object |
wild |
private function buildEditFormActions($object)Inherited
$object |
wild |
public function newNUXButton($text)Inherited
$text |
wild |
final public function addActionToCrumbs($crumbs, $parameters)Inherited
PHUICrumbsView | $crumbs | |
array | $parameters |
wild |
public function newCreateActionSpecifications($parameters)Inherited
Build a raw description of available "Create New Object" UI options so other methods can build menus or buttons.
array | $parameters |
wild |
final public function buildEditEngineCommentView($object)Inherited
$object |
wild |
protected function loadDraftVersion($object)Inherited
$object |
wild |
private function buildParametersResponse($object)Inherited
Respond to a request for documentation on HTTP parameters.
object | $object | Editable object. |
AphrontResponse | Response object. |
private function buildError($object, $title, $body)Inherited
$object | ||
$title | ||
$body |
wild |
private function buildNoDefaultResponse($object)Inherited
$object |
wild |
private function buildNoCreateResponse($object)Inherited
$object |
wild |
private function buildNoManageResponse($object)Inherited
$object |
wild |
private function buildNoEditResponse($object)Inherited
$object |
wild |
private function buildNotEditFormRespose($object, $config)Inherited
$object | ||
$config |
wild |
private function buildDisabledFormResponse($object, $config)Inherited
$object | ||
$config |
wild |
private function buildLockedObjectResponse($object)Inherited
$object |
wild |
private function buildCommentResponse($object)Inherited
$object |
wild |
protected function newDraftEngine($object)Inherited
$object |
wild |
final public function buildConduitResponse($request)Inherited
Respond to a Conduit edit request.
This method accepts a list of transactions to apply to an object, and either edits an existing object or creates a new one.
ConduitAPIRequest | $request |
wild |
private function getRawConduitTransactions($request)Inherited
ConduitAPIRequest | $request |
wild |
private function getConduitTransactions($request, $xactions, $types, $template)Inherited
Generate transactions which can be applied from edit actions in a Conduit request.
ConduitAPIRequest | $request | The request. |
list<wild> | $xactions | Raw conduit transactions. |
list<PhabricatorEditType> | $types | Supported edit types. |
PhabricatorApplicationTransaction | $template | Template transaction. |
list<PhabricatorApplicationTransaction> | Generated transactions. |
private function getConduitEditTypesFromFields($fields)Inherited
array | $fields |
map<string, PhabricatorEditType> |
public function getConduitEditTypes()Inherited
wild |
final public static function getAllEditEngines()Inherited
wild |
final public static function getByKey($viewer, $key)Inherited
PhabricatorUser | $viewer | |
$key |
wild |
public function getIcon()Inherited
wild |
private function loadUsableConfigurationsForCreate()Inherited
wild |
protected function getValidationExceptionShortMessage($ex, $field)
PhabricatorApplicationTransactionValidationException | $ex | |
PhabricatorEditField | $field |
wild |
protected function getCreateNewObjectPolicy()
wild |
private function requireCreateCapability()Inherited
wild |
private function hasCreateCapability()Inherited
wild |
public function isCommentAction()Inherited
wild |
public function getEditAction()Inherited
wild |
protected function newCommentActionGroups()Inherited
wild |
protected function newAutomaticCommentTransactions($object)Inherited
$object |
wild |
protected function newCommentPreviewContent($object, $xactions)Inherited
$object | ||
array | $xactions |
wild |
public function getSelectedPage()Inherited
wild |
private function selectPage($object, $page_key)Inherited
$object | ||
$page_key |
wild |
protected function newPages($object)
$object |
wild |
protected function getPages($object)Inherited
$object |
wild |
private function applyPageToFields($object, $fields)Inherited
$object | ||
array | $fields |
wild |
protected function willApplyTransactions($object, $xactions)Inherited
$object | ||
array | $xactions |
wild |
protected function didApplyTransactions($object, $xactions)Inherited
$object | ||
array | $xactions |
wild |
final public function newBulkEditGroupMap()Inherited
wild |
protected function newBulkEditGroups()Inherited
wild |
final public function newBulkEditMap()Inherited
wild |
final public function newRawBulkTransactions($xactions)Inherited
array | $xactions |
wild |
private function getBulkEditTypesFromFields($fields)Inherited
array | $fields |
wild |
public function getPHID()Inherited
wild |
public function getCapabilities()Inherited
wild |
public function getPolicy($capability)Inherited
$capability |
wild |
public function hasAutomaticCapability($capability, $viewer)Inherited
$capability | ||
PhabricatorUser | $viewer |
wild |
public function setIsSelfEdit($is_self_edit)
$is_self_edit |
wild |
public function getIsSelfEdit()
wild |
public function setProfileURI($profile_uri)
$profile_uri |
wild |
public function getProfileURI()
wild |