c_filesys_object Class Reference

Stores filesystem object. More...

List of all members.

Public Member Functions

 add_access ($access)
 Adds access right.
 add_event ($event)
 Adds event.
 init ($type, $internal_name, $public_name, $time, $published, $complete, $expiration)
 Initialization.

Public Attributes

 $access
 Array of c_filesys_access.
 $complete
 Boolean: is file completely received?
 $events
 Array of c_filesys_event.
 $expiration
 Time of expiration of object.
 $internal_name
 Internal name of object (physical name of file).
 $public_name
 Public name of object.
 $published
 Boolean: is it published?
 $time
 Time of creation.
 $type
 Type of object ("ft_message", or "ft_file").


Detailed Description

Stores filesystem object.

Version:
1
Author:
VooDooMan
Date:
2005
Todo:
Make some *clever* manipulating methods

Definition at line 458 of file library_php_2.inc.php.


Member Function Documentation

c_filesys_object::add_access access  ) 
 

Adds access right.

Version:
1
Author:
VooDooMan
Date:
2005
Parameters:
access c_filesys_access object to add

Definition at line 504 of file library_php_2.inc.php.

00504                                  {
00505         array_push($this->access,$access);
00506     }

c_filesys_object::add_event event  ) 
 

Adds event.

Version:
1
Author:
VooDooMan
Date:
2005
Parameters:
event c_filesys_event object to add

Definition at line 515 of file library_php_2.inc.php.

00515                                {
00516         array_push($this->events,$event);
00517     }

c_filesys_object::init type,
internal_name,
public_name,
time,
published,
complete,
expiration
 

Initialization.

Version:
1
Author:
VooDooMan
Date:
2005
Parameters:
type Type of object ("ft_message", or "ft_file")
internal_name Internal name of object (physical name of file)
public_name Public name of object
time Time of creation
published Boolean: is it published?
complete Boolean: is file completely received?
expiration Time of expiration of object

Definition at line 483 of file library_php_2.inc.php.

References $complete, $expiration, $internal_name, $public_name, $published, $time, and $type.

00485     {
00486         $this->type=$type;
00487         $this->internal_name=$internal_name;
00488         $this->public_name=$public_name;
00489         $this->time=$time;
00490         $this->published=$published;
00491         $this->complete=$complete;
00492         $this->expiration=$expiration;
00493         $this->access=array();
00494         $this->events=array();
00495     }


Member Data Documentation

c_filesys_object::$access
 

Array of c_filesys_access.

Definition at line 467 of file library_php_2.inc.php.

c_filesys_object::$complete
 

Boolean: is file completely received?

Definition at line 464 of file library_php_2.inc.php.

Referenced by init().

c_filesys_object::$events
 

Array of c_filesys_event.

Definition at line 468 of file library_php_2.inc.php.

c_filesys_object::$expiration
 

Time of expiration of object.

Definition at line 465 of file library_php_2.inc.php.

Referenced by init().

c_filesys_object::$internal_name
 

Internal name of object (physical name of file).

Definition at line 460 of file library_php_2.inc.php.

Referenced by init().

c_filesys_object::$public_name
 

Public name of object.

Definition at line 461 of file library_php_2.inc.php.

Referenced by init().

c_filesys_object::$published
 

Boolean: is it published?

Definition at line 463 of file library_php_2.inc.php.

Referenced by init().

c_filesys_object::$time
 

Time of creation.

Definition at line 462 of file library_php_2.inc.php.

Referenced by init().

c_filesys_object::$type
 

Type of object ("ft_message", or "ft_file").

Definition at line 459 of file library_php_2.inc.php.

Referenced by init().


The documentation for this class was generated from the following file:
Generated on Sun Jul 24 16:21:26 2005 for Library for "php_2" scripting by  doxygen 1.4.3