dokeos-backup
[ class tree: dokeos-backup ] [ index: dokeos-backup ] [ all elements ]

Class: Survey

Source Location: /main/coursecopy/classes/Survey.class.php

Class Overview

Resource
   |
   --Survey

A survey


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Resource

Resource::Resource()
Create a new Resource
Resource::add_linked_resource()
Add linked resource
Resource::get_id()
Returns the id of this resource.
Resource::get_linked_resources()
Get linked resources
Resource::get_tool()
Get the constant which defines the tool of this resource. This is used in the item_properties table.
Resource::get_type()
Resturns the type of this resource
Resource::is_restored()
Check if this resource is allready restored in the destination course.
Resource::links_to()
Checks if this resource links to a given resource
Resource::set_new_id()
Set the destination id
Resource::show()
Show this resource

Class Details

[line 31]
A survey



Tags:

author:  Yannick Warnier <yannick.warnier@dokeos.com>


[ Top ]


Class Variables

$answered =

[line 82]

Answer status


Type:   mixed


[ Top ]

$author =

[line 45]

The author's name


Type:   mixed


[ Top ]

$avail_from =

[line 53]

The availability period


Type:   mixed


[ Top ]

$avail_till =

[line 54]


Type:   mixed


[ Top ]

$code =

[line 36]

The survey code


Type:   mixed


[ Top ]

$creation_date =

[line 74]

Creation date


Type:   mixed


[ Top ]

$intro =

[line 66]

Introduction text


Type:   mixed


[ Top ]

$invitation_ids =

[line 92]


Type:   mixed


[ Top ]

$invited =

[line 78]

Invitation status


Type:   mixed


[ Top ]

$invite_mail =

[line 86]

Invitation and reminder mail contents


Type:   mixed


[ Top ]

$is_shared =

[line 58]

Flag for shared status


Type:   mixed


[ Top ]

$lang =

[line 49]

The survey's language


Type:   mixed


[ Top ]

$question_ids =

[line 91]

Questions and invitations lists


Type:   mixed


[ Top ]

$reminder_mail =

[line 87]


Type:   mixed


[ Top ]

$subtitle =

[line 41]


Type:   mixed


[ Top ]

$surveythanks =

[line 70]

Thanks text


Type:   mixed


[ Top ]

$template =

[line 62]

Template used


Type:   mixed


[ Top ]

$title =

[line 40]

The title and subtitle


Type:   mixed


[ Top ]



Class Methods


constructor Survey [line 112]

Survey Survey( $id, string $code, string $title, string $subtitle, string $author, string $lang, string $avail_from, string $avail_till, char $is_shared, string $template, string $intro, string $surveythanks, string $creation_date, int $invited, int $answered, string $invite_mail, string $reminder_mail)

Create a new Survey



Parameters:

string   $code  
string   $title  
string   $subtitle  
string   $author  
string   $lang  
string   $avail_from  
string   $avail_till  
char   $is_shared  
string   $template  
string   $intro  
string   $surveythanks  
string   $creation_date  
int   $invited  
int   $answered  
string   $invite_mail  
string   $reminder_mail  
   $id  

[ Top ]

method add_invitation [line 147]

void add_invitation( $id)

Add an invitation to this survey



Parameters:

   $id  

[ Top ]

method add_question [line 140]

void add_question( $id)

Add a question to this survey



Parameters:

   $id  

[ Top ]

method show [line 154]

void show( )

Show this survey



Overrides Resource::show() (Show this resource)

[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:15:10 +0200 by phpDocumentor 1.4.0