public loadTypeDataByIdentifier ( string $identifier, integer $status ) : array(int=>array(string=>mixed)) | ||
$identifier | string | |
$status | integer | |
return | array(int=>array(string=>mixed)) |
public function loadTypeDataByIdentifier($identifier, $status)
{
$q = $this->getLoadTypeQuery();
$q->where($q->expr->lAnd($q->expr->eq($this->dbHandler->quoteColumn('identifier', 'ezcontentclass'), $q->bindValue($identifier)), $q->expr->eq($this->dbHandler->quoteColumn('version', 'ezcontentclass'), $q->bindValue($status))));
$stmt = $q->prepare();
$stmt->execute();
return $stmt->fetchAll(\PDO::FETCH_ASSOC);
}