Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnuserapi.php

Procedural File: pnuserapi.php

Source Location: /Banners/pnuserapi.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnuserapi.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








Banners_userapi_changeurl [line 400]

true Banners_userapi_changeurl( $args['bid'] $args, $args['url'] 1)

update the url of a banner



Tags:

return:  if successful, false otherwise
author:  Devin Hayes


Parameters

$args['url']   1   new banner url
$args['bid']   $args   banner id
[ Top ]



Banners_userapi_click [line 315]

bool Banners_userapi_click( $args['bid'] $args)

register a click on a banner



Tags:

return:  true if successful, false otherwise
author:  Devin Hayes


Parameters

$args['bid']   $args   id of the banner
[ Top ]



Banners_userapi_countclientitems [line 224]

integer Banners_userapi_countclientitems( $args)

utility function to count the number of items held by this module



Tags:

return:  number of items held by this module
author:  Devin Hayes


Parameters

   $args  
[ Top ]



Banners_userapi_countfinisheditems [line 302]

integer Banners_userapi_countfinisheditems( $args)

utility function to count the number of items held by this module



Tags:

return:  number of items held by this module
author:  Devin Hayes


Parameters

   $args  
[ Top ]



Banners_userapi_countitems [line 139]

integer Banners_userapi_countitems( $args, int $args['type'])

utility function to count the number of items held by this module



Tags:

return:  number of items held by this module
author:  Devin Hayes
todo:  add support for the banner type parameter


Parameters

int   $args['type']   (optional) banner type
   $args  
[ Top ]



Banners_userapi_emailstats [line 350]

bool Banners_userapi_emailstats( $args['bid'] $args, $args['cid'] 1)

send banner stats to the client



Tags:

return:  true if successful, false otherwise
author:  Devin Hayes


Parameters

$args['cid']   1   id of the client
$args['bid']   $args   id of the banner
[ Top ]



Banners_userapi_finish [line 426]

true Banners_userapi_finish( $args['bid'] $args)

Move a banner to the finished banners table



Tags:

return:  if successful, false otherwise
author:  Devin Hayes


Parameters

$args['bid']   $args   banner id
[ Top ]



Banners_userapi_get [line 93]

mixed Banners_userapi_get( $args['bid'] $args, $args['cid'] 1, bool $args['clientinfo'])

Get a banner



Tags:

return:  array if bid is valid, false otherwise
author:  Devin Hayes


Parameters

$args['cid']   1   id of the client (optional)
bool   $args['clientinfo']   (optional) include client info
$args['bid']   $args   id of the banner
[ Top ]



Banners_userapi_getall [line 25]

array Banners_userapi_getall( $args, int $args['startnum'], int $args['numitems'], int $args['type'], int $args['cid'], bool $args['clientinfo'])

get all banners



Tags:

return:  array of items, or false on failure
author:  Mark West


Parameters

int   $args['startnum']   (optional) first item to return
int   $args['numitems']   (optional) number if items to return
int   $args['type']   (optional) banner type
int   $args['cid']   (optional) client id
bool   $args['clientinfo']   (optional) include client info
   $args  
[ Top ]



Banners_userapi_getallclients [line 155]

array Banners_userapi_getallclients( $args, int $args['startnum'], int $args['numitems'])

get all banner clients



Tags:

return:  array of items, or false on failure
author:  Mark West


Parameters

int   $args['startnum']   (optional) first item to return
int   $args['numitems']   (optional) number if items to return
   $args  
[ Top ]



Banners_userapi_getallfinished [line 237]

array Banners_userapi_getallfinished( $args, int $args['startnum'], int $args['numitems'])

get all banners



Tags:

return:  array of items, or false on failure
author:  Mark West


Parameters

int   $args['startnum']   (optional) first item to return
int   $args['numitems']   (optional) number if items to return
   $args  
[ Top ]



Banners_userapi_getclient [line 201]

mixed Banners_userapi_getclient( $args['cid'] $args)

Get a banner client



Tags:

return:  array if bid is valid, false otherwise
author:  Mark West


Parameters

$args['cid']   $args   id of the banner client
[ Top ]



Banners_userapi_getfinished [line 279]

mixed Banners_userapi_getfinished( $args['bid'] $args)

Get a banner



Tags:

return:  array if bid is valid, false otherwise
author:  Devin Hayes


Parameters

$args['bid']   $args   id of the banner
[ Top ]



Banners_userapi_impmade [line 332]

void Banners_userapi_impmade( $args)





Parameters

   $args  
[ Top ]



banners_userapi_validateclient [line 463]

mixed banners_userapi_validateclient( $args['login'] $args, $args['password'] 1)

validate client login



Tags:

return:  client array if successful, false otherwise
author:  Devin Hayes


Parameters

$args['password']   1   client password
$args['login']   $args   client login
[ Top ]


Packages:

Files:

Classes: