src/Attribute/TranslatedReference.php
public function getTranslatedDataFor($arrIds, $strLangCode)
    {
        $queryBuilder = $this->connection->createQueryBuilder()
            ->select('*')
            ->from($this->getValueTable());

        $this->buildWhere($queryBuilder, $arrIds, $strLangCode);

        $statement = $queryBuilder->execute();
        $arrReturn = array();
        while ($value = $statement->fetch(\PDO::FETCH_ASSOC)) {
            /** @noinspection PhpUndefinedFieldInspection */
            $arrReturn[$value['item_id']] = $value;
        }
        return $arrReturn;
    }
public function getTranslatedDataFor($arrIds, $strLangCode)
    {
        $queryBuilder = $this->connection->createQueryBuilder()
            ->select('*')
            ->from($this->getValueTable());

        $this->buildWhere($queryBuilder, $arrIds, $strLangCode);

        $statement = $queryBuilder->execute();
        $arrReturn = array();
        while ($value = $statement->fetch(\PDO::FETCH_ASSOC)) {
            /** @noinspection PhpUndefinedFieldInspection */
            $arrReturn[$value['item_id']] = $value;
        }
        return $arrReturn;
    }
public function getTranslatedDataFor ( $ arrIds , $ strLangCode ) { $ queryBuilder = $ this -> connection -> createQueryBuilder ( ) -> select ( '*' ) -> from ( $ this -> getValueTable ( ) ) ; $ this -> buildWhere ( $ queryBuilder , $ arrIds , $ strLangCode ) ; $ statement = $ queryBuilder -> execute ( ) ; $ arrReturn = array ( ) ; while ( $ value = $ statement -> fetch ( \ PDO :: FETCH_ASSOC ) ) { /** @noinspection PhpUndefinedFieldInspection */ $ arrReturn [ $ value [ 'item_id' ] ] = $ value ; } return $ arrReturn ; }
{@inheritDoc}
{