- neo4j
- neo4j::__construct
- neo4j::createNode
- neo4j::getNode
- neo4j::deleteNode
- neo4j::createRelationship
- neo4j::getRelationship
- neo4j::deleteRelationship
- neo4j::getPath
- neo4j::getPaths
- neo4j::getNodeIndex
- neo4j::deleteNodeIndex
- neo4j::getRelationshipIndex
- neo4j::deleteRelationshipIndex
- neo4j::cypher
- neo4j::query
- neo4j::restAPI
- neo4jNode
- neo4jNode::getId
- neo4jNode::getUri
- neo4jNode::save
- neo4jNode::delete
- neo4jNode::getProperty
- neo4jNode::getAllProperties
- neo4jNode::setProperty
- neo4jNode::setAllProperties
- neo4jNode::deleteProperty
- neo4jNode::getRelationships
- neo4jNode::getPathTo
- neo4jNode::getPathFrom
- neo4jNode::getPathsTo
- neo4jNode::getPathsFrom
- neo4jNode::traverseNodes
- neo4jNode::traversePaths
- neo4jNode::traverseRelationships
- neo4jRelationship
- neo4jRelationship::getId
- neo4jRelationship::getUri
- neo4jRelationship::save
- neo4jRelationship::delete
- neo4jRelationship::getProperty
- neo4jRelationship::getAllProperties
- neo4jRelationship::setProperty
- neo4jRelationship::setAllProperties
- neo4jRelationship::deleteProperty
- neo4jRelationship::startNode
- neo4jRelationship::endNode
- neo4jRelationship::getType
- neo4jIndex
- neo4jIndex::getId
- neo4jIndex::get
- neo4jIndex::getOrCreate
- neo4jIndex::add
- neo4jIndex::remove
- neo4jIndex::delete
- neo4jPath
- neo4jPath::startNode
- neo4jPath::endNode
- neo4jPath::getLength
- neo4jPath::getNodes
- neo4jPath::getRelationships
- neo4j::__construct
- neo4j::createNode
- neo4j::getNode
- neo4j::deleteNode
- neo4j::createRelationship
- neo4j::getRelationship
- neo4j::deleteRelationship
- neo4j::getPath
- neo4j::getPaths
- neo4j::getNodeIndex
- neo4j::deleteNodeIndex
- neo4j::getRelationshipIndex
- neo4j::deleteRelationshipIndex
- neo4j::cypher
- neo4j::query
- neo4j::restAPI
Create a new neo4j connection object
- userpsw
- username:password
Create a neo4jNode
Get a neo4jNode by nodeId
Delete a neo4jNode by nodeId
public neo4jRelationship neo4j::createRelationship(mixed $start, mixed $to [,string $type="" [,array $properties=array()]])
Create a neo4jRelationship
$start and $to can be nodeId or neo4jNode object.
Get a neo4jRelationship by relationshipId
Delete a neo4jRelationship by relationshipId
public neo4jPath neo4j::getPath(mixed $start, mixed $to, string $type, int $algorithm [, array $option])
Get a neo4jPath by conditions
- $algorithm
- NEO4J_PATH_SHORTESTPATH
- NEO4J_PATH_ALLSIMPLEPATHS
- NEO4J_PATH_ALLPATHS
- NEO4J_PATH_DIJKSTRA
- $option - An array of options to applay
- max_depth
- cost_property - only use for NEO4J_PATH_DIJKSTRA
public neo4jPath neo4j::getPaths(mixed $start, mixed $to, string $type, int $algorithm [, array $option])
Get all neo4jPathes by conditions
- $algorithm
- NEO4J_PATH_SHORTESTPATH
- NEO4J_PATH_ALLSIMPLEPATHS
- NEO4J_PATH_ALLPATHS
- NEO4J_PATH_DIJKSTRA
- $option - An array of options to applay
- max_depth
- cost_property - only use for NEO4J_PATH_DIJKSTRA
Get a neo4jIndex of neo4jNode by indexId
Delete a neo4jIndex of neo4jNode by indexId
Get a neo4jIndex of neo4jRelationship by indexId
Delete a neo4jIndex of neo4jRelationship by indexId
Query with cypher
Find node by query from an automatic index
Send a request by restAPI
- $method
- REST_METHOD_GET
- REST_METHOD_POST
- REST_METHOD_DELETE
- REST_METHOD_PUT
- neo4jNode::getId
- neo4jNode::getUri
- neo4jNode::save
- neo4jNode::delete
- neo4jNode::getProperty
- neo4jNode::getAllProperties
- neo4jNode::setProperty
- neo4jNode::setAllProperties
- neo4jNode::deleteProperty
- neo4jNode::getRelationships
- neo4jNode::getPathTo
- neo4jNode::getPathFrom
- neo4jNode::getPathsTo
- neo4jNode::getPathsFrom
- neo4jNode::traverseNodes
- neo4jNode::traversePaths
- neo4jNode::traverseRelationships
Get nodeId
Get uri
Save self
Delete self
Get a property by key
Get all properties
Set a property
Set all properties
Delete a property
public array neo4jNode::getRelationships([int $direct = NEO4J_RELATIONSHIP_ALL [, array $typeList = array()]])
Get all relationships
- $direct
- NEO4J_RELATIONSHIP_IN
- NEO4J_RELATIONSHIP_OUT
- NEO4J_RELATIONSHIP_ALL
Get a neo4jPath by conditions
- $algorithm
- NEO4J_PATH_SHORTESTPATH
- NEO4J_PATH_ALLSIMPLEPATHS
- NEO4J_PATH_ALLPATHS
- NEO4J_PATH_DIJKSTRA
- $option - An array of options to applay
- max_depth
- cost_property - only use for NEO4J_PATH_DIJKSTRA
public neo4jPath neo4jNode::getPathFrom(mixed $start, string $type, int $algorithm [, array $option])
Get a neo4jPath by conditions
- $algorithm
- NEO4J_PATH_SHORTESTPATH
- NEO4J_PATH_ALLSIMPLEPATHS
- NEO4J_PATH_ALLPATHS
- NEO4J_PATH_DIJKSTRA
- $option - An array of options to applay
- max_depth
- cost_property - only use for NEO4J_PATH_DIJKSTRA
Get all neo4jPathes by conditions
- $algorithm
- NEO4J_PATH_SHORTESTPATH
- NEO4J_PATH_ALLSIMPLEPATHS
- NEO4J_PATH_ALLPATHS
- NEO4J_PATH_DIJKSTRA
- $option - An array of options to applay
- max_depth
- cost_property - only use for NEO4J_PATH_DIJKSTRA
public neo4jPath neo4jNode::getPathsFrom(mixed $start, string $type, int $algorithm [, array $option])
Get all neo4jPathes by conditions
- $algorithm
- NEO4J_PATH_SHORTESTPATH
- NEO4J_PATH_ALLSIMPLEPATHS
- NEO4J_PATH_ALLPATHS
- NEO4J_PATH_DIJKSTRA
- $option - An array of options to applay
- max_depth
- cost_property - only use for NEO4J_PATH_DIJKSTRA
Traverse nodes
- $option
- order - [ breadth_first | depth_first ]
- relationships - [ all | in | out ]
- uniqueness - [ node_global | none | relationship_global | node_path | relationship_path ]
- return_filter - [ all | all_but_start_node ]
- prune_evaluator
- max_depth
Traverse paths
- $option
- order - [ breadth_first | depth_first ]
- relationships - [ all | in | out ]
- uniqueness - [ node_global | none | relationship_global | node_path | relationship_path ]
- return_filter - [ all | all_but_start_node ]
- prune_evaluator
- max_depth
Traverse relationships
- $option
- order - [ breadth_first | depth_first ]
- relationships - [ all | in | out ]
- uniqueness - [ node_global | none | relationship_global | node_path | relationship_path ]
- return_filter - [ all | all_but_start_node ]
- prune_evaluator
- max_depth
- neo4jRelationship::getId
- neo4jRelationship::getUri
- neo4jRelationship::save
- neo4jRelationship::delete
- neo4jRelationship::getProperty
- neo4jRelationship::getAllProperties
- neo4jRelationship::setProperty
- neo4jRelationship::setAllProperties
- neo4jRelationship::deleteProperty
- neo4jRelationship::startNode
- neo4jRelationship::endNode
- neo4jRelationship::getType
Get relationshipId
Get uri
Save self
Delete self
Get a property by key
Get all properties
Set a property
Set all properties
Delete a property
Get start node
Get end node
Get type
- neo4jIndex::getId
- neo4jIndex::get
- neo4jIndex::getOrCreate
- neo4jIndex::add
- neo4jIndex::remove
- neo4jIndex::delete
Get indexId
Get objects by $key and $value
Get or create an object by $key and $value
Add an object to the index
Remove an object from the index
Delete self
- neo4jPath::startNode
- neo4jPath::endNode
- neo4jPath::getLength
- neo4jPath::getNodes
- neo4jPath::getRelationships
Get start node
Get end node
Get length
Get all nodes
Get all relationships