eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway::createLocationsFromNodeAssignments PHP Method

createLocationsFromNodeAssignments() abstract public method

Convert existing node assignments into real locations.
abstract public createLocationsFromNodeAssignments ( mixed $contentId, mixed $versionNo )
$contentId mixed
$versionNo mixed
    public abstract function createLocationsFromNodeAssignments($contentId, $versionNo);

Usage Example

コード例 #1
0
 /**
  * Create locations from node assignments
  *
  * Convert existing node assignments into real locations.
  *
  * @param mixed $contentId
  * @param mixed $versionNo
  *
  * @return void
  */
 public function createLocationsFromNodeAssignments($contentId, $versionNo)
 {
     try {
         return $this->innerGateway->createLocationsFromNodeAssignments($contentId, $versionNo);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway::createLocationsFromNodeAssignments