phpDocumentor WebDav
UserInterface
[ class tree: WebDav ] [ index: WebDav ] [ all elements ]

Class: ItemAddWebDav

Source Location: /modules/webdav/ItemAddWebDav.inc

Class ItemAddWebDav

Class Overview

Add items with WebDAV. Handle WebDAV PUT requests and describe to users how to add items with WebDAV.

Located in /modules/webdav/ItemAddWebDav.inc [line 37]

ItemAddPlugin
   |
   --ItemAddWebDav

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ItemAddPlugin

ItemAddPlugin::getTitle()
Return a localized title for this plugin, suitable for display to the user
ItemAddPlugin::handleRequest()
Let the plugin handle the incoming request
ItemAddPlugin::isAppropriate()
Is this plugin appropriate at this time? Default is true.
ItemAddPlugin::loadTemplate()
Load the template with data from this plugin

[ Top ]
Method Summary
void   getTitle()  
void   handleRequest()  
void   loadTemplate()  
void   _addItem()   Add new item.
array   _hasLinkedEntity()   Determine if item is part of a linked(replica) set.
void   _replaceItem()   Replace existing item.

[ Top ]
Methods
getTitle  [line 335]

  void getTitle( )


API Tags:
See:  ItemAddPlugin::getTitle


Redefinition of:
ItemAddPlugin::getTitle()
Return a localized title for this plugin, suitable for display to the user

[ Top ]
handleRequest  [line 42]

  void handleRequest( $form, &$item  )

Parameters:
   $form: 
   &$item: 

API Tags:
See:  ItemAddPlugin::handleRequest


Redefinition of:
ItemAddPlugin::handleRequest()
Let the plugin handle the incoming request

[ Top ]
loadTemplate  [line 328]

  void loadTemplate( &$template, &$form, $item  )

Parameters:
   &$template: 
   &$form: 
   $item: 

API Tags:
See:  ItemAddPlugin::loadTemplate


Redefinition of:
ItemAddPlugin::loadTemplate()
Load the template with data from this plugin

[ Top ]
_addItem  [line 108]

  void _addItem( GalleryItem $parentItem, array $webDavOptions, resource $stream, string $mimeType, string $path  )

Add new item.

Parameters:
GalleryItem   $parentItem:  The parent item of the item to be added
array   $webDavOptions:  WebDAV library options
resource   $stream:  request body file handle
string   $mimeType:  request content type
string   $path:  the path to the destination in the Gallery hierarchy

API Tags:
Access:  private
See:  ItemAddPlugin::handleRequest for the returned data


[ Top ]
_hasLinkedEntity  [line 351]

  array _hasLinkedEntity( GalleryItem $item  )

Determine if item is part of a linked(replica) set.

Parameters:
GalleryItem   $item: 

API Tags:
Return:  GalleryStatus a status code, bool true if linked
Access:  private


[ Top ]
_replaceItem  [line 155]

  void _replaceItem( GalleryItem $parentItem, array $webDavOptions, resource $stream, string $mimeType, string $path, int $itemId  )

Replace existing item.

Parameters:
GalleryItem   $parentItem:  The parent item of the item to be added
array   $webDavOptions:  WebDAV library options
resource   $stream:  request body file handle
string   $mimeType:  request content type
string   $path:  the path to the destination in the Gallery hierarchy
int   $itemId:  The id of the item to be replaced

API Tags:
Access:  private
See:  ItemAddPlugin::handleRequest for the returned data


[ Top ]

Documentation generated on Sat, 21 Nov 2009 04:58:59 -0800 by phpDocumentor 1.3.0RC6