| 
Public Member Functions | 
|  | getObjectGenre () | 
|  | getObjectIdField () | 
|  | queryFromRating (KWebQueryBuilder $qb, $columns=false, $alias=true, $joinLeft=false) | 
|  | Adds k_rating table to the query with specified columns and alias. 
 | 
|  | queryUseRating (KWebQueryBuilder $qb) | 
|  | Returns k_rating alias. 
 | 
|  | queryFromRatingLog (KWebQueryBuilder $qb, $columns=false, $alias=true, $joinLeft=false, $joinCondition=false) | 
|  | Adds k_rating_log table to the query with specified columns and alias. 
 | 
|  | queryUseRatingLog (KWebQueryBuilder $qb) | 
|  | Returns k_rating_log alias. 
 | 
|  | queryFromRank (KWebQueryBuilder $qb, $columns=false, $alias=true, $joinLeft=false) | 
|  | Adds k_rating_rank table to the query with specified columns and alias. 
 | 
|  | queryUseRank (KWebQueryBuilder $qb) | 
|  | Returns k_rating_rank alias. 
 | 
|  | queryWhereRatingGroup (KWebQueryBuilder $qb, $group) | 
|  | queryWhereRankId (KWebQueryBuilder $qb, $rank) | 
|  | buildReadQuery () | 
|  | applyQueryOptions (SqlQueryBuilder $qb) | 
|  | Applies all query specific options on the query. 
 | 
|  | readDataFromQuery ($query=null) | 
| 
Static Public Member Functions | 
| static | ratingFactory ($options=array()) | 
| static | inst () | 
| 
Data Fields | 
| const | ALIAS_RATING = "rating" | 
| const | ALIAS_RATING_LOG = "rating_log" | 
| const | ALIAS_RANK = "rank" | 
| const | ORDER_RANK = 'order_rank' | 
|  | Orders items by specified rank id. 
 | 
Member Function Documentation
      
        
          | KWebAdapter_Rating::buildReadQuery | ( |  | ) |  | 
      
 
 
      
        
          | KWebAdapter_Rating::getObjectGenre | ( |  | ) |  | 
      
 
 
      
        
          | KWebAdapter_Rating::getObjectIdField | ( |  | ) |  | 
      
 
 
      
        
          | static KWebAdapter_Rating::inst | ( |  | ) |  [static] | 
      
 
 
      
        
          | KWebAdapter_Rating::queryFromRank | ( | KWebQueryBuilder $ | qb, | 
        
          |  |  | $ | columns = false, | 
        
          |  |  | $ | alias = true, | 
        
          |  |  | $ | joinLeft = false | 
        
          |  | ) |  |  | 
      
 
Adds k_rating_rank table to the query with specified columns and alias. 
Knows how to join with: k_rating
- Parameters:
- 
  
    | $columns | - TRUE becomes 'rating_id', default none |  | $alias | - default self::ALIAS_RANK |  
 
- Returns:
- KWebAdapter_Item 
 
 
      
        
          | KWebAdapter_Rating::queryFromRating | ( | KWebQueryBuilder $ | qb, | 
        
          |  |  | $ | columns = false, | 
        
          |  |  | $ | alias = true, | 
        
          |  |  | $ | joinLeft = false | 
        
          |  | ) |  |  | 
      
 
Adds k_rating table to the query with specified columns and alias. 
Knows how to join with: k_item and k_o_comment
- Parameters:
- 
  
    | $columns | - TRUE becomes 'rating_id', default none |  | $alias | - default self::ALIAS_RATING |  
 
- Returns:
- KWebAdapter_Item 
 
 
      
        
          | KWebAdapter_Rating::queryFromRatingLog | ( | KWebQueryBuilder $ | qb, | 
        
          |  |  | $ | columns = false, | 
        
          |  |  | $ | alias = true, | 
        
          |  |  | $ | joinLeft = false, | 
        
          |  |  | $ | joinCondition = false | 
        
          |  | ) |  |  | 
      
 
Adds k_rating_log table to the query with specified columns and alias. 
Knows how to join with: k_rating
- Parameters:
- 
  
    | $columns | - TRUE becomes 'rating_id', default none |  | $alias | - default self::ALIAS_RATING_LOG |  
 
- Returns:
- KWebAdapter_Item 
 
 
Returns k_rating_rank alias. 
Joins the table if needed 
- Returns:
- string 
 
 
Returns k_rating alias. 
Joins the table if needed 
- Returns:
- string 
 
 
Returns k_rating_log alias. 
Joins the table if needed 
- Returns:
- string 
 
 
      
        
          | static KWebAdapter_Rating::ratingFactory | ( | $ | options = array() | ) |  [static] | 
      
 
 
      
        
          | KWebAdapter_Rating::readDataFromQuery | ( | $ | query = null | ) |  | 
      
 
 
Field Documentation
Orders items by specified rank id. 
 
 
The documentation for this class was generated from the following file: