Class tgcSimplePollAdmin

Description

tgcSimplePollAdmin is a class to administrate the tgcSimplePoll voting script With tgcSimplePoll you can easily include a survey on your website.

tgcSimplePollAdmin is a class to administrate the tgcSimplePoll voting script With tgcSimplePoll you can easily include a survey on your website. You can manage your polls in an admin-area which is password protected. Changing the layout is much easier now, as tgcSimplePoll uses a template-engine (patTemplate from <http://www.php-tools.de>). tgcSimplePoll requires PHP >= 4.1.0

Located in /tgcSimplePollAdmin.php (line 88)

tgcSimplePoll_common
   |
   --tgcSimplePollAdmin
Method Summary
 tgcSimplePollAdmin tgcSimplePollAdmin ([array $settings = array()])
 string run ()
Methods
Constructor tgcSimplePollAdmin (line 136)

Constructor Initializes the admin-area This parameter is an associative array containing the settings you desire.

Constructor Initializes the admin-area This parameter is an associative array containing the settings you desire. If you don't want to build an own skin set the skinDir and take 'tg/default' or sth. else as skin

 Following options are possible:

   'language'      => the language file, that shall be used - default language is English
   'skin'          =>  skin-name as string (if no skin is specified the default-skin will be used)
   'useSessions'   =>  use sessions for user authentication
 

  • access: public
tgcSimplePollAdmin tgcSimplePollAdmin ([array $settings = array()])
  • array $settings: settings array
run (line 201)

displays the admin-area

displays the admin-area returns a string containing markup-data for the admin-area, after the user has been identified as admin

  • return: markup-data for the admin-area
  • access: public
string run ()

Documentation generated on Fri, 19 Nov 2004 23:51:51 +0100 by phpDocumentor 1.2.3