Page MenuHomePhorge
Diviner Tech Docs PhabricatorEdgeType

abstract class PhabricatorEdgeType
Phorge Technical Documentation (Edges)

Defines an edge type.

Edges are typed, directed connections between two objects. They are used to represent most simple relationships, like when a user is subscribed to an object or an object is a member of a project.

Tasks

Loading Types

Other Methods

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

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

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

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$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

final public function getEdgeConstant()

This method is not documented.
Return
wild

public function getConduitKey()

This method is not documented.
Return
wild

public function getConduitName()

This method is not documented.
Return
wild

public function getConduitDescription()

This method is not documented.
Return
wild

public function getInverseEdgeConstant()

This method is not documented.
Return
wild

public function shouldPreventCycles()

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

public function getTransactionPreviewString($actor)

This method is not documented.
Parameters
$actor
Return
wild

public function getTransactionAddString($actor, $add_count, $add_edges)

This method is not documented.
Parameters
$actor
$add_count
$add_edges
Return
wild

public function getTransactionRemoveString($actor, $rem_count, $rem_edges)

This method is not documented.
Parameters
$actor
$rem_count
$rem_edges
Return
wild

public function getTransactionEditString($actor, $total_count, $add_count, $add_edges, $rem_count, $rem_edges)

This method is not documented.
Parameters
$actor
$total_count
$add_count
$add_edges
$rem_count
$rem_edges
Return
wild

public function getFeedAddString($actor, $object, $add_count, $add_edges)

This method is not documented.
Parameters
$actor
$object
$add_count
$add_edges
Return
wild

public function getFeedRemoveString($actor, $object, $rem_count, $rem_edges)

This method is not documented.
Parameters
$actor
$object
$rem_count
$rem_edges
Return
wild

public function getFeedEditString($actor, $object, $total_count, $add_count, $add_edges, $rem_count, $rem_edges)

This method is not documented.
Parameters
$actor
$object
$total_count
$add_count
$add_edges
$rem_count
$rem_edges
Return
wild

public static function getAllTypes()

This method is not documented.
Return
wild

public static function getByConstant($const)

This method is not documented.
Parameters
$const
Return
wild