eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::loadSectionData PHP Method

loadSectionData() abstract public method

Loads data for section with $id.
abstract public loadSectionData ( integer $id ) : string[][]
$id integer
return string[][]
    public abstract function loadSectionData($id);

Usage Example

 /**
  * Get section data
  *
  * @param mixed $id
  *
  * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If section is not found
  *
  * @return \eZ\Publish\SPI\Persistence\Content\Section
  */
 public function load($id)
 {
     $rows = $this->sectionGateway->loadSectionData($id);
     if (empty($rows)) {
         throw new NotFound("Section", $id);
     }
     return $this->createSectionFromArray(reset($rows));
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\Section\Gateway::loadSectionData