| [ Index ] |
PHP Cross Reference of Nucleus CMS 3.32 |
[Source view] [Print] [Project Stats]
Media classes for nucleus
| Copyright: | Copyright (C) 2002-2007 The Nucleus Group |
| License: | http://nucleuscms.org/license.txt GNU General Public License |
| Version: | $Id: MEDIA.php 1116 2007-02-03 08:24:29Z kimitake $ |
| File Size: | 270 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
MEDIA:: (6 methods):
getCollectionList()
getMediaListByCollection()
checkFilter()
isValidCollection()
addMediaObject()
addMediaObjectRaw()
MEDIAOBJECT:: (2 methods):
MEDIAOBJECT()
sort_media()
| getCollectionList() X-Ref |
| Gets the list of collections available to the currently logged in member returns: array of dirname => display name |
| getMediaListByCollection($collection, $filter = '') X-Ref |
| Returns an array of MEDIAOBJECT objects for a certain collection param: $collection param: $filter |
| checkFilter($strText, $strFilter) X-Ref |
| No description |
| isValidCollection($collectionName) X-Ref |
| checks if a collection exists with the given name, and if it's allowed for the currently logged in member to upload files to it |
| addMediaObject($collection, $uploadfile, $filename) X-Ref |
| Adds an uploaded file to the media archive param: collection param: uploadfile param: filename |
| addMediaObjectRaw($collection, $filename, &$data) X-Ref |
| Adds an uploaded file to the media dir. param: $collection param: $filename param: &$data |
Class: MEDIAOBJECT - X-Ref
Represents the characteristics of one single media-object| MEDIAOBJECT($collection, $filename, $timestamp) X-Ref |
| No description |
| sort_media($a, $b) X-Ref |
| User-defined sort method to sort an array of MEDIAOBJECTS |
| Generated: Tue Feb 12 15:34:36 2008 | Cross-referenced by PHPXref 0.7 |