public function findAllByEntityIds(array $entityIds)
    {

        // prepare the cache key
        $vals = implode(',', $entityIds);
        $sql = str_replace('?', $vals, $this->loadStatement(SqlStatementKeys::CATEGORY_VARCHARS_BY_ENTITY_IDS));

        // load the categories with the passed values and return them
        if ($stmt = $this->getConnection()->query($sql)) {
            return $stmt->fetchAll();
        }
    }
public function findAllByEntityIds(array $entityIds)
    {

        // prepare the cache key
        $vals = implode(',', $entityIds);
        $sql = str_replace('?', $vals, $this->loadStatement(SqlStatementKeys::CATEGORY_VARCHARS_BY_ENTITY_IDS));

        // load the categories with the passed values and return them
        if ($stmt = $this->getConnection()->query($sql)) {
            return $stmt->fetchAll();
        }
    }
public function findAllByEntityIds ( array $ entityIds ) { // prepare the cache key $ vals = implode ( ',' , $ entityIds ) ; $ sql = str_replace ( '?' , $ vals , $ this -> loadStatement ( SqlStatementKeys :: CATEGORY_VARCHARS_BY_ENTITY_IDS ) ) ; // load the categories with the passed values and return them if ( $ stmt = $ this -> getConnection ( ) -> query ( $ sql ) ) { return $ stmt -> fetchAll ( ) ; } }
Returns the category varchar values for the categories with
the passed with the passed entity IDs.

@param array $entityIds The array with the category IDs

@return mixed The category varchar values
Returns the category varchar values for the categories with the passed with the passed entity IDs .