Detailed Description
PathDescription describes a path between two types.
Definition at line 18 of file PathDescription.php.
Public Member Functions | |
| __construct (array $path) | |
| getStartType () | |
| getStartRole () | |
| getEndType () | |
| getEndRole () | |
| getPath () | |
| getPathLength () | |
Protected Attributes | |
| $startType = '' | |
| $startRole = '' | |
| $endType = '' | |
| $endRole = '' | |
| $path = null | |
Constructor & Destructor Documentation
| __construct | ( | array | $path | ) |
Constructor.
- Parameters
-
$path Array of RelationDescription instances
Definition at line 31 of file PathDescription.php.
Member Function Documentation
| getStartType | ( | ) |
Get the PersistentObject type at the start point.
- Returns
- String
Definition at line 49 of file PathDescription.php.
| getStartRole | ( | ) |
Get the role name at the start point.
- Returns
- String
Definition at line 57 of file PathDescription.php.
| getEndType | ( | ) |
Get the PersistentObject type at the end point.
- Returns
- String
Definition at line 65 of file PathDescription.php.
| getEndRole | ( | ) |
Get the role name at the end point.
- Returns
- String
Definition at line 73 of file PathDescription.php.
| getPath | ( | ) |
Get the path.
- Returns
- Array of RelationDesctription instances
Definition at line 81 of file PathDescription.php.
| getPathLength | ( | ) |
Member Data Documentation
|
protected |
Definition at line 20 of file PathDescription.php.
|
protected |
Definition at line 21 of file PathDescription.php.
|
protected |
Definition at line 22 of file PathDescription.php.
|
protected |
Definition at line 23 of file PathDescription.php.
|
protected |
Definition at line 25 of file PathDescription.php.