abstract public function getSourceName()
abstract public function getSourceName()
Return
wild |
abstract public function getSourceDescription()
abstract public function getSourceDescription()
Return
wild |
final public function getSourceTypeConstant()
final public function getSourceTypeConstant()
Return
wild |
final public static function getAllContentSources()
final public static function getAllContentSources()
Return
wild |
final public static function newForSource($source, $params, $force)
final public static function newForSource($source, $params, $force)
Construct a new content source object.
Parameters
const | $source | The source type constant to build a source for. |
array | $params | Source parameters. |
bool | $force | True to suppress errors and force construction of a source even if the source type is not valid. |
Return
PhabricatorContentSource | New source object. |
public static function newFromSerialized($serialized)
public static function newFromSerialized($serialized)
Parameters
$serialized |
Return
wild |
public static function newFromRequest($request)
public static function newFromRequest($request)
Parameters
AphrontRequest | $request |
Return
wild |
final public function serialize()
final public function serialize()
Return
wild |
final public function getSource()
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)
final public function getContentSourceParameter($key, $default)
Parameters
$key | ||
$default |
Return
wild |