eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\ExceptionConversion::moveSubtreeNodes PHP Метод

moveSubtreeNodes() публичный Метод

This query can likely be optimized to use some more advanced string operations, which then depend on the respective database.
public moveSubtreeNodes ( array $fromPathString, array $toPathString )
$fromPathString array
$toPathString array
    public function moveSubtreeNodes(array $fromPathString, array $toPathString)
    {
        try {
            return $this->innerGateway->moveSubtreeNodes($fromPathString, $toPathString);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }