Class portfolio

Description

Portfolio class to handle the majory of portfolio functions and operations in ILance

  • author: ILance
  • version: $Revision: 1.0.0 $

Located in /api/class.portfolio.inc.php (line 23)


	
			
Method Summary
void fetch_stats ([ $mode = ''])
bool portfolio_process ([integer $userid = 0], [integer $portfolioid = 0], [string $amount = 0], [string $total = 0])
void print_recently_featured_users ([ $cid = ''], [ $days = 30])
Methods
expire_featured_portfolios (line 329)
void expire_featured_portfolios ()
expire_verified_profile_credentials (line 287)

Function to expire any verified profile credential accounts if they are due (pased from cron.reminders.php)

void expire_verified_profile_credentials ()
fetch_stats (line 210)
void fetch_stats ([ $mode = ''])
  • $mode
portfolio_process (line 36)

Function for processing a portfolio featured payment upgrade.

This function is also responsible for updating isportfoliofee = '1' upon a successful transaction.

  • return: returns true or false for successful account balance debit
bool portfolio_process ([integer $userid = 0], [integer $portfolioid = 0], [string $amount = 0], [string $total = 0])
  • integer $userid: user id
  • integer $portfolioid: portfolio id
  • string $amount: amount
  • string $total: total amount to process
print_recently_featured_users (line 248)
void print_recently_featured_users ([ $cid = ''], [ $days = 30])
  • $cid
  • $days

Documentation generated on Mon, 08 Aug 2011 17:40:56 +0200 by phpDocumentor 1.4.1