eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway\DoctrineDatabase::loadTypeDataByRemoteId PHP Method

loadTypeDataByRemoteId() public method

Loads an array with data about the type referred to by $remoteId in $status.
public loadTypeDataByRemoteId ( mixed $remoteId, integer $status ) : array(int=>array(string=>mixed))
$remoteId mixed
$status integer
return array(int=>array(string=>mixed))
    public function loadTypeDataByRemoteId($remoteId, $status)
    {
        $q = $this->getLoadTypeQuery();
        $q->where($q->expr->lAnd($q->expr->eq($this->dbHandler->quoteColumn('remote_id', 'ezcontentclass'), $q->bindValue($remoteId)), $q->expr->eq($this->dbHandler->quoteColumn('version', 'ezcontentclass'), $q->bindValue($status))));
        $stmt = $q->prepare();
        $stmt->execute();
        return $stmt->fetchAll(\PDO::FETCH_ASSOC);
    }