1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- require_once 'Resource.class.php';
- class SurveyInvitation extends Resource
- {
-
- var $code;
-
- var $user;
-
- var $invitation_code;
-
- var $invitation_date;
-
- var $reminder_date;
-
- function SurveyInvitation($id,$code,$user,$invitation_code,$invitation_date,$reminder_date)
- {
- parent::Resource($id,RESOURCE_SURVEYINVITATION);
- $this->code = $code;
- $this->user = $user;
- $this->invitation_code = $invitation_code;
- $this->invitation_date = $invitation_date;
- $this->reminder_date = $reminder_date;
- }
-
- function show()
- {
- parent::show();
- echo $this->invitation_code;
- }
- }
|