several public keyword added

This commit is contained in:
tomash 2006-11-23 14:42:33 +00:00
parent 56224063ff
commit 9ab775b5b7
2 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ class Playlist extends StoredFile {
* @return Playlist * @return Playlist
* instance of Playlist object * instance of Playlist object
*/ */
private static function &insert(&$gb, $oid, $fname, public static function &insert(&$gb, $oid, $fname,
$mediaFileLP='', $metadata='', $mdataLoc='file', $mediaFileLP='', $metadata='', $mdataLoc='file',
$plid=NULL, $ftype=NULL) $plid=NULL, $ftype=NULL)
{ {

View File

@ -120,7 +120,7 @@ class StoredFile {
* class to be constructed (opt.) * class to be constructed (opt.)
* @return StoredFile * @return StoredFile
*/ */
function &insert(&$gb, $oid, $name, public static function &insert(&$gb, $oid, $name,
$mediaFileLP='', $metadata='', $mdataLoc='file', $mediaFileLP='', $metadata='', $mdataLoc='file',
$gunid=NULL, $ftype=NULL, $className='StoredFile') $gunid=NULL, $ftype=NULL, $className='StoredFile')
{ {
@ -257,7 +257,7 @@ class StoredFile {
* optional classname to recall * optional classname to recall
* @return StoredFile * @return StoredFile
*/ */
function &recallByGunid(&$gb, $gunid='', $className='StoredFile') public static function &recallByGunid(&$gb, $gunid='', $className='StoredFile')
{ {
return StoredFile::recall($gb, '', $gunid, $className); return StoredFile::recall($gb, '', $gunid, $className);
} }
@ -274,7 +274,7 @@ class StoredFile {
* optional classname to recall * optional classname to recall
* @return StoredFile * @return StoredFile
*/ */
function recallByToken(&$gb, $token, $className='StoredFile') public static function recallByToken(&$gb, $token, $className='StoredFile')
{ {
$gunid = $gb->dbc->getOne(" $gunid = $gb->dbc->getOne("
SELECT to_hex(gunid)as gunid SELECT to_hex(gunid)as gunid