ChangeSet ID: 31051 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/04/18 18:18:45
Modified files: . : objectManager.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Include testData_queue.php in objectManager. Document usage at the top of objectManager.php. ----------------------------------------------------------------------
Patch: http://cvs.winehq.org/patch.py?id=31051
Old revision New revision Changes Path 1.3 1.4 +19 -5 appdb/objectManager.php
Index: appdb/objectManager.php diff -u -p appdb/objectManager.php:1.3 appdb/objectManager.php:1.4 --- appdb/objectManager.php:1.3 18 Apr 2007 23:18:45 -0000 +++ appdb/objectManager.php 18 Apr 2007 23:18:45 -0000 @@ -1,13 +1,27 @@ <?php +/** + * Code for displaying and processing objects that have object management + * methods. + * + * Required parameters + * sClass: The class that is to be handled + * + * Optional parameters + * sTitle: Set the title of the page + * iId: The object id when handling a specific entry + * bIsQueue: Whether we are handling a queue, set automatically if bIsRejected is true + * bIsRejected: Whether we are handling rejected entries, sets bIsQueue to true + * if enabled + * sAction: What to do, defaults to viewing the item if iId is given and to + * displaying a table of objects with the specified queue status otherwise + */
-/* code for displaying and processing objects that have object management - methods */ - -require('path.php'); -require(BASE.'include/incl.php'); +require_once('path.php'); +require_once(BASE.'include/incl.php'); require_once(BASE.'include/objectManager.php'); /* require_once(BASE.'include/application_queue.php'); require_once(BASE.'include/version_queue.php'); */ +require_once(BASE.'include/testData_queue.php');
/* if we have no valid class name we should abort */ if(!$aClean['sClass'])