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

Docs for page pnadmin.php

Procedural File: pnadmin.php

Source Location: /Banners/pnadmin.php

Classes:



Page Details:

Zikula Application Framework



Tags:

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








Banners_admin_create [line 113]

mixed Banners_admin_create( $args, int $cid, int $idtype, int $imptotal, string $imageurl, string $clickurl)

create a banner



Tags:

return:  int banner id if successful
author:  Devin Hayes


Parameters

int   $cid   client id
int   $idtype   banner type id
int   $imptotal   total impressions purchased
string   $imageurl   source url of the banner image
string   $clickurl   destination url for the banner
   $args  
[ Top ]



Banners_admin_createclient [line 297]

mixed Banners_admin_createclient( $args, int $cname, int $contact, int $email, string $login, string $passwd, string $extrainfo)

create a client



Tags:

return:  int banner id if successful
author:  Devin Hayes


Parameters

int   $cname   client name
int   $contact   client contact name
int   $email   client e-mail address
string   $login   client login name
string   $passwd   client login password
string   $extrainfo   additional client information
   $args  
[ Top ]



Banners_admin_delete [line 230]

mixed Banners_admin_delete( $args, int $bid, int $objectid, bool $confirmation)

delete a banner



Tags:

return:  HTML output string if no confirmation, true if succesful, false otherwise
author:  Devin Hayes


Parameters

int   $bid   banner id
int   $objectid   generic object id maps to bid if present
bool   $confirmation   confirmation of the deletion
   $args  
[ Top ]



Banners_admin_deleteclient [line 400]

mixed Banners_admin_deleteclient( $args, int $cid, int $objectid, bool $confirmation)

delete a banner



Tags:

return:  HTML output string if no confirmation, true if succesful, false otherwise
author:  Devin Hayes


Parameters

int   $cid   client id
int   $objectid   generic object id maps to bid if present
bool   $confirmation   confirmation of the deletion
   $args  
[ Top ]



Banners_admin_deletefinished [line 465]

mixed Banners_admin_deletefinished( $args, int $bid, int $objectid, bool $confirmation)

delete a finished banner



Tags:

return:  HTML output string if no confirmation, true if succesful, false otherwise
author:  Devin Hayes


Parameters

int   $bid   banner id
int   $objectid   generic object id maps to bid if present
bool   $confirmation   confirmation of the deletion
   $args  
[ Top ]



Banners_admin_main [line 19]

output Banners_admin_main( )

the main administration function



Tags:

return:  The main module admin page.
author:  Devin Hayes


[ Top ]



Banners_admin_modify [line 149]

string Banners_admin_modify( $args, int $args['bid'])

modify a banner



Tags:

return:  HTML output string
author:  Devin Hayes


Parameters

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



Banners_admin_modifyclient [line 326]

string Banners_admin_modifyclient( $args, int $cid)

modify a banner client



Tags:

return:  HTML output string
author:  Devin Hayes


Parameters

int   $cid   the client id
   $args  
[ Top ]



Banners_admin_modifyconfig [line 528]

string Banners_admin_modifyconfig( )

This is a standard function to modify the configuration parameters of the module



Tags:

return:  HTML output string
author:  Devin Hayes


[ Top ]



Banners_admin_new [line 40]

string Banners_admin_new( $args)

display form to create a new banner/client



Tags:

return:  HTML output string
author:  Devin Hayes


Parameters

   $args  
[ Top ]



Banners_admin_update [line 198]

bool Banners_admin_update( $args, int $cid, int $idtype, int $imptotal, int $impadded, string $imageurl, string $clickurl)

update a banner



Tags:

author:  Devin Hayes


Parameters

int   $cid   client id
int   $idtype   banner type id
int   $imptotal   total impressions purchased
int   $impadded   additional impressions added
string   $imageurl   source url of the banner image
string   $clickurl   destination url for the banner
   $args  
[ Top ]



Banners_admin_updateclient [line 368]

bool Banners_admin_updateclient( $args, int $cid, int $cname, int $contact, int $email, string $login, string $passwd, string $extrainfo)

update a banner client



Tags:

author:  Devin Hayes


Parameters

int   $cid   client id
int   $cname   client name
int   $contact   client contact name
int   $email   client e-mail address
string   $login   client login name
string   $passwd   client login password
string   $extrainfo   additional client information
   $args  
[ Top ]



Banners_admin_updateconfig [line 553]

bool Banners_admin_updateconfig( [int $itemsperpage = the number messages per page in the admin panel])

This is a standard function to update the configuration parameters of the module given the information passed back by the modification form



Tags:

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


Parameters

int   $itemsperpage   the number messages per page in the admin panel
[ Top ]



Banners_admin_view [line 74]

string Banners_admin_view( $args, int $startnum)

view items



Tags:

return:  HTML output string
author:  Devin Hayes


Parameters

int   $startnum   the start item id for the pager
   $args  
[ Top ]


Packages:

Files:

Classes: