source/Application/Model/Article.php
protected function fetchFirstInPriceCategory($categoryPriceId)
    {
        $database = $this->getDatabase();

        $query = $this->createFetchFirstInPriceCategorySql($categoryPriceId);

        $result = $database->getOne($query);

        return $result;
    }
protected function fetchFirstInPriceCategory($categoryPriceId)
    {
        $database = $this->getDatabase();

        $query = $this->createFetchFirstInPriceCategorySql($categoryPriceId);

        $result = $database->getOne($query);

        return $result;
    }
protected function fetchFirstInPriceCategory ( $ categoryPriceId ) { $ database = $ this -> getDatabase ( ) ; $ query = $ this -> createFetchFirstInPriceCategorySql ( $ categoryPriceId ) ; $ result = $ database -> getOne ( $ query ) ; return $ result ; }
Fetch the article corresponding to this object in the price category with the given id.

@param string $categoryPriceId The id of the category we want to check, if this article is in.

@return string One, if the given article is in the given price category, else empty string.
Fetch the article corresponding to this object in the price category with the given id .