Diogenes_Barrel_Page Class Reference

List of all members.

Public Member Functions

 Diogenes_Barrel_Page (&$barrel, $props)
 delete (&$barrel, $dir, &$caller)
 fromDb (&$barrel, $dir)
 getLocation ($file= '')
 make_actions ()
 make_toolbar (&$caller)
 make_doc_toolbar (&$rcs)
 toDb ($homepage, &$caller)

Public Attributes

 $barrel
 $props = array()

Detailed Description

This class describes a Barrel Page.

Definition at line 26 of file Page.php.


Member Function Documentation

Diogenes_Barrel_Page::Diogenes_Barrel_Page ( &$  barrel,
props 
)

Construct a Barrel Page object.

Parameters:
$barrel 
$props 

Definition at line 40 of file Page.php.

References $barrel, and $props.

Referenced by fromDb().

Diogenes_Barrel_Page::delete ( &$  barrel,
dir,
&$  caller 
)

Delete a Barrel Page.

Parameters:
$barrel 
$dir 
$caller 

Definition at line 76 of file Page.php.

References $barrel.

Referenced by Diogenes_Barrel::rmPath().

Diogenes_Barrel_Page::fromDb ( &$  barrel,
dir 
)

Read a Page's properties from database.

Parameters:
$barrel 
$dir 

Definition at line 115 of file Page.php.

References $barrel, $props, and Diogenes_Barrel_Page().

Referenced by DiogenesWebDAV::delete(), DiogenesBarrel::doContent(), DiogenesWebDAV::GET(), DiogenesWebDAV::PROPFIND(), and DiogenesWebDAV::PUT().

Here is the call graph for this function:

Diogenes_Barrel_Page::getLocation ( file = ''  ) 

Returns the location of a given file

Parameters:
$file 

Definition at line 133 of file Page.php.

Referenced by make_actions(), and make_toolbar().

Diogenes_Barrel_Page::make_actions (  ) 

Return the list of action applicable to the page

Definition at line 143 of file Page.php.

References $props, and getLocation().

Here is the call graph for this function:

Diogenes_Barrel_Page::make_toolbar ( &$  caller  ) 

Build the 'Page' toolbar

Definition at line 168 of file Page.php.

References $props, and getLocation().

Here is the call graph for this function:

Diogenes_Barrel_Page::make_doc_toolbar ( &$  rcs  ) 

Build the 'File' toolbar

Definition at line 197 of file Page.php.

Diogenes_Barrel_Page::toDb ( homepage,
&$  caller 
)

Write the page's properties to database and returns the PID of that page.

Parameters:
$homepage 
$caller 

Definition at line 217 of file Page.php.

References $props.


Member Data Documentation

Diogenes_Barrel_Page::$barrel

The Barrel this Page belongs to.

Definition at line 29 of file Page.php.

Referenced by delete(), Diogenes_Barrel_Page(), and fromDb().

Diogenes_Barrel_Page::$props = array()

The Page's properties

Definition at line 32 of file Page.php.

Referenced by Diogenes_Barrel_Page(), fromDb(), make_actions(), make_toolbar(), and toDb().


The documentation for this class was generated from the following file:
Generated on Fri Jan 11 01:20:08 2008 for Diogenes by  doxygen 1.5.1