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

Class: Dropbox_Person

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

Class Overview




Variables

Methods



Class Details

[line 426]


[ Top ]


Class Variables

$isCourseAdmin =  FALSE

[line 431]


Type:   mixed


[ Top ]

$isCourseTutor =  FALSE

[line 432]


Type:   mixed


[ Top ]

$receivedWork =

[line 428]


Type:   mixed


[ Top ]

$sentWork =

[line 429]


Type:   mixed


[ Top ]

$userId =  0

[line 430]


Type:   mixed


[ Top ]

$_orderBy =  ''

[line 433]


Type:   mixed


[ Top ]



Class Methods


constructor Dropbox_Person [line 444]

Dropbox_Person Dropbox_Person( unknown_type $userId, unknown_type $isCourseAdmin, unknown_type $isCourseTutor)

Constructor for recreating the Dropbox_Person object



Parameters:

unknown_type   $userId  
unknown_type   $isCourseAdmin  
unknown_type   $isCourseTutor  

[ Top ]

method deleteAllReceivedWork [line 589]

void deleteAllReceivedWork( )

Deletes all the received work of this person



[ Top ]

method deleteAllSentWork [line 631]

void deleteAllSentWork( )

Deletes all the sent dropbox files of this person



[ Top ]

method deleteReceivedWork [line 605]

void deleteReceivedWork( integer $id)

Deletes a received dropbox file of this person with id=$id



Parameters:

integer   $id  

[ Top ]

method deleteSentWork [line 648]

void deleteSentWork( unknown_type $id)

Deletes a sent dropbox file of this person with id=$id



Parameters:

unknown_type   $id  

[ Top ]

method filter_received_work [line 716]

void filter_received_work( string $type, string $value)

Filter the received work



Parameters:

string   $type  
string   $value  

[ Top ]

method orderReceivedWork [line 556]

void orderReceivedWork( unknown_type $sort)

method that sorts the objects in the receivedWork array, dependent on the $sort parameter.

$sort can be lastDate, firstDate, title, size, ...




Parameters:

unknown_type   $sort  

[ Top ]

method orderSentWork [line 519]

void orderSentWork( unknown_type $sort)

method that sorts the objects in the sentWork array, dependent on the $sort parameter.

$sort can be lastDate, firstDate, title, size, ...




Parameters:

unknown_type   $sort  

[ Top ]

method updateFeedback [line 676]

void updateFeedback( unknown_type $id, unknown_type $text)

Updates feedback for received work of this person with id=$id



Parameters:

unknown_type   $id  
unknown_type   $text  

[ Top ]

method _cmpWork [line 493]

-1, _cmpWork( unknown_type $a, unknown_type $b)

This private method is used by the usort function in the orderSentWork and orderReceivedWork methods.

It compares 2 work-objects by 1 of the properties of that object, dictated by the private property _orderBy




Tags:

return:  0 or 1 dependent of the result of the comparison.


Parameters:

unknown_type   $a  
unknown_type   $b  

[ Top ]


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