[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: jquery_rating

Source Location: /zp-extensions/rating.php

Class jquery_rating

Property Summary
mixed   $ratingstate  

[ Top ]
Method Summary
static object   getCurrentPageObject()   returns the $object for the current loaded page
static float   getRatingByIP()   Returns the last vote rating from an IP or false if no vote on record
static void   id()   returns an "ID" tag for rating records
static string   optionVoteStatus()   Option filter handler for images and albums
static void   optionVoteStatusSave()   Option save handler for the filter
static void   ratingJS()  
static void   rating_purgebutton()  
jquery_rating   __construct()   class instantiation function
array   getOptionsSupported()   Reports the supported options
void   handleOption()  

[ Top ]
Properties
mixed   $ratingstate [line 72]

[ Top ]
Methods
static method getCurrentPageObject  [line 217]

  static object getCurrentPageObject( object $object  )

returns the $object for the current loaded page

Parameters:
object   $object: 


[ Top ]
static method getRatingByIP  [line 197]

  static float getRatingByIP( string $ip, array $usedips, float $ratingAverage  )

Returns the last vote rating from an IP or false if no vote on record

Parameters:
string   $ip: 
array   $usedips: 
float   $ratingAverage: 


[ Top ]
static method id  [line 237]

  static void id( )

returns an "ID" tag for rating records



[ Top ]
static method optionVoteStatus  [line 142]

  static string optionVoteStatus( string $prior, object $object, string $prefix  )

Option filter handler for images and albums

Parameters:
string   $prior:  HTML from prior filters
object   $object:  object being rated
string   $prefix:  indicator if admin is processing multiple objects

API Tags:
Return:  Combined HTML


[ Top ]
static method optionVoteStatusSave  [line 164]

  static void optionVoteStatusSave( object $object, string $prefix  )

Option save handler for the filter

Parameters:
object   $object:  object being rated
string   $prefix:  indicator if admin is processing multiple objects


[ Top ]
static method ratingJS  [line 117]

  static void ratingJS( )



[ Top ]
static method rating_purgebutton  [line 171]

  static void rating_purgebutton( $buttons  )

Parameters:
   $buttons: 


[ Top ]
Constructor __construct  [line 79]

  jquery_rating __construct( )

class instantiation function



[ Top ]
getOptionsSupported  [line 93]

  array getOptionsSupported( )

Reports the supported options



[ Top ]
handleOption  [line 113]

  void handleOption( $option, $currentValue  )

Parameters:
   $option: 
   $currentValue: 


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:43 +0200 by phpDocumentor 1.4.3