minor typo fixed

This commit is contained in:
tomash 2006-03-09 01:17:31 +00:00
parent 8fb0062868
commit 0e3e20e1df

View file

@ -71,7 +71,7 @@ class StoredFile{
/* ========= 'factory' methods - should be called to construct StoredFile */ /* ========= 'factory' methods - should be called to construct StoredFile */
/** /**
* Create instace of StoredFile object and insert new file * Create instance of StoredFile object and insert new file
* *
* @param gb reference to GreenBox object * @param gb reference to GreenBox object
* @param oid int, local object id in the tree * @param oid int, local object id in the tree
@ -81,7 +81,7 @@ class StoredFile{
* @param mdataLoc string 'file'|'string' (optional) * @param mdataLoc string 'file'|'string' (optional)
* @param gunid global unique id (optional) - for insert file with gunid * @param gunid global unique id (optional) - for insert file with gunid
* @param ftype string, internal file type * @param ftype string, internal file type
* @return instace of StoredFile object * @return instance of StoredFile object
*/ */
function &insert(&$gb, $oid, $name, function &insert(&$gb, $oid, $name,
$mediaFileLP='', $metadata='', $mdataLoc='file', $mediaFileLP='', $metadata='', $mdataLoc='file',
@ -149,14 +149,14 @@ class StoredFile{
} }
/** /**
* Create instace of StoreFile object and recall existing file.<br> * Create instance of StoreFile object and recall existing file.<br>
* Should be supplied oid XOR gunid - not both ;) * Should be supplied oid XOR gunid - not both ;)
* *
* @param gb reference to GreenBox object * @param gb reference to GreenBox object
* @param oid int, optional, local object id in the tree * @param oid int, optional, local object id in the tree
* @param gunid string, optional, global unique id of file * @param gunid string, optional, global unique id of file
* @param className string, optional classname to recall * @param className string, optional classname to recall
* @return instace of StoredFile object * @return instance of StoredFile object
*/ */
function &recall(&$gb, $oid='', $gunid='', $className='StoredFile') function &recall(&$gb, $oid='', $gunid='', $className='StoredFile')
{ {
@ -185,13 +185,13 @@ class StoredFile{
} }
/** /**
* Create instace of StoreFile object and recall existing file * Create instance of StoreFile object and recall existing file
* by gunid.<br/> * by gunid.<br/>
* *
* @param gb reference to GreenBox object * @param gb reference to GreenBox object
* @param gunid string, optional, global unique id of file * @param gunid string, optional, global unique id of file
* @param className string, optional classname to recall * @param className string, optional classname to recall
* @return instace of StoredFile object * @return instance of StoredFile object
*/ */
function &recallByGunid(&$gb, $gunid='', $className='StoredFile') function &recallByGunid(&$gb, $gunid='', $className='StoredFile')
{ {
@ -199,13 +199,13 @@ class StoredFile{
} }
/** /**
* Create instace of StoreFile object and recall existing file * Create instance of StoreFile object and recall existing file
* by access token.<br/> * by access token.<br/>
* *
* @param gb reference to GreenBox object * @param gb reference to GreenBox object
* @param token string, access token * @param token string, access token
* @param className string, optional classname to recall * @param className string, optional classname to recall
* @return instace of StoredFile object * @return instance of StoredFile object
*/ */
function recallByToken(&$gb, $token, $className='StoredFile') function recallByToken(&$gb, $token, $className='StoredFile')
{ {
@ -222,7 +222,7 @@ class StoredFile{
} }
/** /**
* Create instace of StoredFile object and make copy of existing file * Create instance of StoredFile object and make copy of existing file
* *
* @param src reference to source object * @param src reference to source object
* @param nid int, new local id * @param nid int, new local id