Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorContentSource

abstract class PhabricatorContentSource
Phorge Technical Documentation ()

This class is not documented.

Methods

abstract public function getSourceName()

This method is not documented.
Return
wild

abstract public function getSourceDescription()

This method is not documented.
Return
wild

final public function getSourceTypeConstant()

This method is not documented.
Return
wild

final public static function getAllContentSources()

This method is not documented.
Return
wild

final public static function newForSource($source, $params, $force)

Construct a new content source object.

Parameters
const$sourceThe source type constant to build a source for.
array$paramsSource parameters.
bool$forceTrue to suppress errors and force construction of a source even if the source type is not valid.
Return
PhabricatorContentSourceNew source object.

public static function newFromSerialized($serialized)

This method is not documented.
Parameters
$serialized
Return
wild

public static function newFromRequest($request)

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

final public function serialize()

This method is not documented.
Return
wild

final public function getSource()

Get the internal source name

This is usually coming from a SOURCECONST constant.

Return
string|null

final public function getContentSourceParameter($key, $default)

This method is not documented.
Parameters
$key
$default
Return
wild