Method | Description | |
---|---|---|
down ( Doctrine\DBAL\Schema\Schema $schema ) | ||
fetchParent ( $table, $id ) : mixed | Fetches the parent node for a table and ID. | |
fixTree ( string $table ) | Fixes the tree for a given table due to the migration of doctrine2-nestedset to DoctrineExtensions. | |
getLevel ( $table, $id ) : mixed | Returns the level for a given table and ID. | |
getNodeIds ( $table ) : array | Returns the node IDs for the table. | |
up ( Doctrine\DBAL\Schema\Schema $schema ) |
Method | Description | |
---|---|---|
createRootNode ( $service ) |
public down ( Doctrine\DBAL\Schema\Schema $schema ) | ||
$schema | Doctrine\DBAL\Schema\Schema |
public fetchParent ( $table, $id ) : mixed | ||
$table | ||
$id | ||
return | mixed |
public getNodeIds ( $table ) : array | ||
$table | ||
return | array |
public up ( Doctrine\DBAL\Schema\Schema $schema ) | ||
$schema | Doctrine\DBAL\Schema\Schema |