phpDocumentor spunq-frontend
[ class tree: spunq-frontend ] [ index: spunq-frontend ] [ all elements ]

Class: rating

Source Location: /frontend/classes/rating.class.php

Class rating

Class Overview

notes:

VALUES: $_GET['oid'] = object_id $_GET['rate'] = value for rating $_GET['url'] = url for reload $frontend = spunq frontend object

table object_adds (object_adds_rating): Column | Type | ---------------------+-------------------+ object_adds_rating | integer |

view object_view (object_adds_rating): Column | Type | ---------------------+-------------------+ object_adds_rating | integer |

table rating: Column | Type | ----------------+------------------------+ rating_id | integer | rating_title | character varying(255) | rating_userid | integer | rating_oid | integer | rating_value | integer |

Located in /frontend/classes/rating.class.php [line 59]



		
		
		
		

Properties

Methods

[ Top ]
Property Summary
mixed   $exists  
mixed   $frontend  
mixed   $get  
mixed   $value  

[ Top ]
Method Summary
NULL   rating()   rating::rating()
NULL   __construct()   rating::__construct()
boolean   rateItem()   rating::rateItem
NULL   reloadPage()   rating::reloadPage // purpose: reloads the page we are coming from ...
boolean   updateRatingObject()   rating::updateObject

[ Top ]
Properties
mixed   $exists [line 63]

[ Top ]
mixed   $frontend [line 60]

[ Top ]
mixed   $get [line 62]

[ Top ]
mixed   $value [line 61]

[ Top ]
Methods
Constructor rating  [line 87]

  NULL rating( object $frontend, array $get  )

rating::rating()

// purpose: constructor

Parameters:
object   $frontend: 
array   $get: 


[ Top ]
Constructor __construct  [line 72]

  NULL __construct( object $frontend, array $get  )

rating::__construct()

// purpose: constructor for php 5

Parameters:
object   $frontend: 
array   $get: 


[ Top ]
rateItem  [line 100]

  boolean rateItem( )

rating::rateItem

// purpose: rate any item



[ Top ]
reloadPage  [line 145]

  NULL reloadPage( )

rating::reloadPage // purpose: reloads the page we are coming from ...



[ Top ]
updateRatingObject  [line 126]

  boolean updateRatingObject( )

rating::updateObject

// purpose: calculate new rating and update object



[ Top ]

Documentation generated on Fri, 09 Feb 2007 19:17:51 +0100 by phpDocumentor 1.3.1
js@strg.at