eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway::loadTypeDataByRemoteId PHP Méthode

loadTypeDataByRemoteId() abstract public méthode

Loads an array with data about the type referred to by $remoteId in $status.
abstract public loadTypeDataByRemoteId ( mixed $remoteId, integer $status ) : array(int=>array(string=>mixed))
$remoteId mixed
$status integer
Résultat array(int=>array(string=>mixed))
    public abstract function loadTypeDataByRemoteId($remoteId, $status);

Usage Example

 /**
  * Loads an array with data about the type referred to by $remoteId in
  * $status.
  *
  * @param mixed $remoteId
  * @param int $status
  *
  * @return array(int=>array(string=>mixed)) Data rows.
  */
 public function loadTypeDataByRemoteId($remoteId, $status)
 {
     try {
         return $this->innerGateway->loadTypeDataByRemoteId($remoteId, $status);
     } 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\Type\Gateway::loadTypeDataByRemoteId