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

Class: Dropbox_SentWork

Source Location: /main/dropbox/dropbox_class.inc.php

Class Overview

Dropbox_Work
   |
   --Dropbox_SentWork

Dropbox module for Dokeos Classes for the dropbox module.


Author(s):

  • Jan Bols <jan@ivpv.UGent.be> with contributions by René Haentjens <rene.haentjens@UGent.be> (see RH)

Version:

  • 1.30

Copyright:

  • 2004

Variables

Methods


Inherited Variables

Inherited Methods

Class: Dropbox_Work

Dropbox_Work::Dropbox_Work()
Constructor calls private functions to create a new work or retreive an existing work from DB depending on the number of parameters
Dropbox_Work::_createExistingWork()
private function creating existing object by retreiving info from db
Dropbox_Work::_createNewWork()
private function creating a new work object

Class Details

[line 285]
Dropbox module for Dokeos Classes for the dropbox module.

3 classes are defined:

  • Dropbox_Work: . id . uploader_id => who sent it // RH: Mailing: or mailing pseudo_id . uploaderName . filename => name of file stored on the server . filesize // RH: Mailing: zero for sent zip . title => name of file returned to user. This is the original name of the file except when the original name contained spaces. In that case the spaces will be replaced by _ . description . author . upload_date => date when file was first sent . last_upload_date=> date when file was last sent . isOldWork => has the work already been uploaded before
. feedback_date => date of most recent feedback // RH: Feedback . feedback => feedback text (or HTML?) // RH: Feedback

  • Dropbox_SentWork extends Dropbox_Work . recipients => array of ["id"]["name"] lists the recipients of the work // RH: Mailing: or mailing pseudo_id ["feedback_date"]["feedback"] // RH: Feedback
  • Dropbox_Person: . userId . receivedWork => array of Dropbox_Work objects . sentWork => array of Dropbox_SentWork objects . isCourseTutor . isCourseAdmin . _orderBy =>private property used for determining the field by which the works have to be ordered




Tags:

author:  Jan Bols <jan@ivpv.UGent.be> with contributions by René Haentjens <rene.haentjens@UGent.be> (see RH)
version:  1.30
copyright:  2004


[ Top ]


Class Variables

$recipients =

[line 287]


Type:   mixed


[ Top ]



Class Methods


constructor Dropbox_SentWork [line 302]

Dropbox_SentWork Dropbox_SentWork( unknown_type $arg1, [unknown_type $arg2 = null], [unknown_type $arg3 = null], [unknown_type $arg4 = null], [unknown_type $arg5 = null], [unknown_type $arg6 = null], [unknown_type $arg7 = null])

Constructor calls private functions to create a new work or retreive an existing work from DB depending on the number of parameters



Parameters:

unknown_type   $arg1  
unknown_type   $arg2  
unknown_type   $arg3  
unknown_type   $arg4  
unknown_type   $arg5  
unknown_type   $arg6  
unknown_type   $arg7  

[ Top ]

method _createExistingSentWork [line 393]

void _createExistingSentWork( unknown_type $id)

private function creating existing object by retreiving info from db



Parameters:

unknown_type   $id  

[ Top ]

method _createNewSentWork [line 325]

void _createNewSentWork( unknown_type $uploader_id, unknown_type $title, unknown_type $description, unknown_type $author, unknown_type $filename, unknown_type $filesize, unknown_type $recipient_ids)

private function creating a new SentWork object



Parameters:

unknown_type   $uploader_id  
unknown_type   $title  
unknown_type   $description  
unknown_type   $author  
unknown_type   $filename  
unknown_type   $filesize  
unknown_type   $recipient_ids  

[ Top ]


Documentation generated on Wed, 05 Sep 2007 06:14:37 +0200 by phpDocumentor 1.4.0