Method |
Description |
|
appendPathAndFilterExisting ( array $references, string $nestedPath, integer $flags ) : string[] |
Appends nested paths to references and filters out the existing ones. |
|
flatten ( array $references ) : string[] | null[] |
Flattens a two-level reference array into a one-level array. |
|
flattenWithFilter ( array $references, string $regex, integer $flags, integer $maxDepth ) : string[] | null[] |
Flattens a two-level reference array into a one-level array and filters
out any references that don't match the given regular expression. |
|
followLinks ( array $references, integer $flags ) : string[] | null[] |
Follows any link in a list of references. |
|
getPathDepth ( string $path ) : integer |
Returns the depth of a Puli path. |
|
initWithDefaultOrder ( string $path, string $insertedPath, array $references ) |
Initializes the order of a path with the default order. |
|
initWithParentOrder ( string $path, array $parentReferences ) |
Initializes a path with the order of the closest parent path. |
|
prependOrderEntry ( string $path, string $prependedPath ) |
Inserts a path at the beginning of the order list of a mapped path. |
|
resolveReferences ( string $path, mixed $references, integer $flags ) : string[] | null[] |
Resolves a list of references stored in the JSON. |
|
searchReferences ( string $searchPath, integer $flags ) : array |
Filters the JSON file for all references relevant to a given search path. |
|