Page MenuHomeClusterLabs Projects
Diviner Tech Docs CelerityResourceController

abstract class CelerityResourceController
Phorge Technical Documentation (Celerity)

This class is not documented.

Methods

public function setDelegatingController($delegating_controller)
Inherited

This method is not documented.
Parameters
AphrontController$delegating_controller
Return
wild

public function getDelegatingController()
Inherited

This method is not documented.
Return
wild

public function willBeginExecution()
Inherited

This method is not documented.
Return
wild

public function willProcessRequest($uri_data)
Inherited

This method is not documented.
Parameters
array$uri_data
Return
wild

public function handleRequest($request)
Inherited

This method is not documented.
Parameters
AphrontRequest$request
Return
wild

public function willSendResponse($response)
Inherited

This method is not documented.
Parameters
AphrontResponse$response
Return
wild

final public function setRequest($request)
Inherited

This method is not documented.
Parameters
AphrontRequest$request
Return
wild

final public function getRequest()
Inherited

This method is not documented.
Return
wild

final public function getViewer()
Inherited

This method is not documented.
Return
wild

final public function delegateToController($controller)
Inherited

This method is not documented.
Parameters
AphrontController$controller
Return
wild

final public function setCurrentApplication($current_application)
Inherited

This method is not documented.
Parameters
PhabricatorApplication$current_application
Return
wild

final public function getCurrentApplication()
Inherited

This method is not documented.
Return
wild

public function getDefaultResourceSource()
Inherited

This method is not documented.
Return
wild

public function requireResource($symbol)
Inherited

This method is not documented.
Parameters
$symbol
Return
wild

public function initBehavior($name, $config)
Inherited

This method is not documented.
Parameters
$name
$config
Return
wild

public function shouldRequireLogin()

This method is not documented.
Return
wild

public function shouldRequireAdmin()
Inherited

This method is not documented.
Return
wild

public function shouldRequireEnabledUser()

This method is not documented.
Return
wild

public function shouldAllowPublic()
Inherited

This method is not documented.
Return
wild

public function shouldAllowPartialSessions()

This method is not documented.
Return
wild

public function shouldRequireEmailVerification()
Inherited

This method is not documented.
Return
wild

public function shouldAllowRestrictedParameter($parameter_name)
Inherited

This method is not documented.
Parameters
$parameter_name
Return
wild

public function shouldRequireMultiFactorEnrollment()
Inherited

This method is not documented.
Return
wild
This method is not documented.
Return
wild

public function isGlobalDragAndDropUploadEnabled()
Inherited

This method is not documented.
Return
wild

public function getApplicationURI($path)
Inherited

This method is not documented.
Parameters
$path
Return
wild

protected function loadViewerHandles($phids)
Inherited

PhabricatorController
WARNING: Do not call this in new code.
Parameters
array$phids
Return
wild

public function buildApplicationMenu()
Inherited

This method is not documented.
Return
wild

protected function buildApplicationCrumbs()
Inherited

This method is not documented.
Return
wild

protected function hasApplicationCapability($capability)
Inherited

This method is not documented.
Parameters
$capability
Return
wild

protected function requireApplicationCapability($capability)
Inherited

This method is not documented.
Parameters
$capability
Return
wild

protected function explainApplicationCapability($capability, $positive_message, $negative_message)
Inherited

This method is not documented.
Parameters
$capability
$positive_message
$negative_message
Return
wild

public function newDialog()
Inherited

PhabricatorController

Create a new AphrontDialogView with defaults filled in.

Return
AphrontDialogViewNew dialog.

public function newRedirect()
Inherited

This method is not documented.
Return
wild

public function newPage()
Inherited

This method is not documented.
Return
wild

public function newApplicationMenu()
Inherited

This method is not documented.
Return
wild

public function newCurtainView($object)
Inherited

This method is not documented.
Parameters
$object
Return
wild

protected function buildTransactionTimeline($object, $query, $engine, $view_data)
Inherited

This method is not documented.
Parameters
PhabricatorApplicationTransactionInterface$object
PhabricatorApplicationTransactionQuery$query
PhabricatorMarkupEngine$engine
$view_data
Return
wild

public function buildApplicationCrumbsForEditEngine()
Inherited

This method is not documented.
Return
wild

private function requireLegalpadSignatures()
Inherited

This method is not documented.
Return
wild

public function buildStandardPageView()
Inherited

PhabricatorController

DEPRECATED. Use newPage().

Return
wild

public function buildStandardPageResponse($view, $data)
Inherited

PhabricatorController

DEPRECATED. Use newPage().

Parameters
$view
array$data
Return
wild

protected function buildResourceTransformer()

This method is not documented.
Return
wild

abstract public function getCelerityResourceMap()

This method is not documented.
Return
wild

protected function serveResource($spec)

This method is not documented.
Parameters
array$spec
Return
wild

public static function getSupportedResourceTypes()

This method is not documented.
Return
wild

private function makeResponseCacheable($response)

This method is not documented.
Parameters
AphrontResponse$response
Return
wild

private function isLocallyCacheableResourceType($type)

Is it appropriate to cache the data for this resource type in the fast immutable cache?

Generally, text resources (which are small, and expensive to process) are cached, while other types of resources (which are large, and cheap to process) are not.

Parameters
string$typeResource type.
Return
boolTrue to enable caching.

protected function getCacheKey($path)

This method is not documented.
Parameters
$path
Return
wild