public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
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 |