several public keyword added
This commit is contained in:
parent
56224063ff
commit
9ab775b5b7
|
@ -75,7 +75,7 @@ class Playlist extends StoredFile {
|
|||
* @return Playlist
|
||||
* instance of Playlist object
|
||||
*/
|
||||
private static function &insert(&$gb, $oid, $fname,
|
||||
public static function &insert(&$gb, $oid, $fname,
|
||||
$mediaFileLP='', $metadata='', $mdataLoc='file',
|
||||
$plid=NULL, $ftype=NULL)
|
||||
{
|
||||
|
|
|
@ -120,7 +120,7 @@ class StoredFile {
|
|||
* class to be constructed (opt.)
|
||||
* @return StoredFile
|
||||
*/
|
||||
function &insert(&$gb, $oid, $name,
|
||||
public static function &insert(&$gb, $oid, $name,
|
||||
$mediaFileLP='', $metadata='', $mdataLoc='file',
|
||||
$gunid=NULL, $ftype=NULL, $className='StoredFile')
|
||||
{
|
||||
|
@ -257,7 +257,7 @@ class StoredFile {
|
|||
* optional classname to recall
|
||||
* @return StoredFile
|
||||
*/
|
||||
function &recallByGunid(&$gb, $gunid='', $className='StoredFile')
|
||||
public static function &recallByGunid(&$gb, $gunid='', $className='StoredFile')
|
||||
{
|
||||
return StoredFile::recall($gb, '', $gunid, $className);
|
||||
}
|
||||
|
@ -274,7 +274,7 @@ class StoredFile {
|
|||
* optional classname to recall
|
||||
* @return StoredFile
|
||||
*/
|
||||
function recallByToken(&$gb, $token, $className='StoredFile')
|
||||
public static function recallByToken(&$gb, $token, $className='StoredFile')
|
||||
{
|
||||
$gunid = $gb->dbc->getOne("
|
||||
SELECT to_hex(gunid)as gunid
|
||||
|
|
Loading…
Reference in New Issue