Source for file md_mix.php
Documentation is available at md_mix.php
<?php /* <!-- md_mix.php for Dokeos metadata/*.php -->
<!-- Copyright (C) 2005 rene.haentjens@UGent.be - see metadata/md_funcs.php -->
==============================================================================
* Dokeos Metadata: reduced class mdobject for Search, for a Mix of objects
* @package dokeos.metadata
==============================================================================
if (!($dotpos = strpos($eid, '.'))) return;
if ($type == 'Document' || $type == 'Scorm')
$table = $type == 'Scorm' ?
if (($dotpos = strpos($id, '.')))
$id = substr($id, 0, $dotpos);
"SELECT path,comment,filetype FROM
(($this->mdo_filetype == 'file') ? 'download' : 'document'). '.php?'.
(($this->mdo_filetype == 'file') ? 'doc_url=' : 'curdirpath=') .
"SELECT url,title,description,category_id FROM
"'", __FILE__ , __LINE__ ))))
|