diff --git a/include/bugs.php b/include/bugs.php index 56420a3..ea05791 100644 --- a/include/bugs.php +++ b/include/bugs.php @@ -269,6 +269,11 @@ class Bug } } + function objectGetChildren() + { + return array(); + } + /* Get a list of bugs submitted by a given user */ function listSubmittedBy($iUserId, $bQueued = true) { diff --git a/include/comment.php b/include/comment.php index 1de25c7..aa473c3 100644 --- a/include/comment.php +++ b/include/comment.php @@ -379,6 +379,11 @@ class Comment { echo "\n"; } + function objectGetChildren() + { + return array(); + } + function display_comments_threaded($versionId, $threadId = 0) { $hResult = Comment::grab_comments($versionId, $threadId); diff --git a/include/downloadurl.php b/include/downloadurl.php index d2ca36c..b338adc 100644 --- a/include/downloadurl.php +++ b/include/downloadurl.php @@ -63,6 +63,12 @@ class downloadurl return $sReturn; } + function objectGetChildren() + { + /* We have none */ + return array(); + } + /* Output an editor for Download URL fields */ function outputEditor($oVersion = null, $sFormAction = null) { diff --git a/include/maintainer.php b/include/maintainer.php index 462c384..5ec6cd0 100644 --- a/include/maintainer.php +++ b/include/maintainer.php @@ -819,6 +819,12 @@ class maintainer return array($aItemsPerPage, $iDefaultPerPage); } + function objectGetChildren() + { + /* We have none */ + return array(); + } + function update() { /* STUB: No updating possible at the moment */ diff --git a/include/monitor.php b/include/monitor.php index 47c8b06..85b9c6f 100644 --- a/include/monitor.php +++ b/include/monitor.php @@ -61,6 +61,12 @@ class Monitor { } } + function objectGetChildren() + { + /* We have none */ + return array(); + } + /* * Creates a new Monitor. * Informs interested people about the creation. diff --git a/include/note.php b/include/note.php index 5514b6b..ab55882 100644 --- a/include/note.php +++ b/include/note.php @@ -311,6 +311,11 @@ class Note { return $oManager->makeUrl("view", $this->objectGetId()); } + function objectGetChildren() + { + return array(); + } + //TODO: not sure if we want to use sTitle here or what function objectMakeLink() { diff --git a/include/screenshot.php b/include/screenshot.php index bc0265f..36fafce 100644 --- a/include/screenshot.php +++ b/include/screenshot.php @@ -297,6 +297,12 @@ class screenshot return $this->oScreenshotImage->get_width(); } + function objectGetChildren() + { + /* We have none */ + return array(); + } + function get_screenshot_height() { $this->load_image(false); diff --git a/include/testData.php b/include/testData.php index 479e96b..187ec3a 100644 --- a/include/testData.php +++ b/include/testData.php @@ -1079,6 +1079,12 @@ class testData{ return TRUE; } + function objectGetChildren() + { + /* We have none */ + return array(); + } + function objectDisplayAddItemHelp() { echo "

This is the screen for inputing test information so that others "; diff --git a/include/url.php b/include/url.php index 23dbc2d..c23d880 100644 --- a/include/url.php +++ b/include/url.php @@ -499,6 +499,11 @@ class Url { return $sReturn; } + function objectGetChildren() + { + return array(); + } + // if a url lacks "://" assume the url is an http one // and prepend "http://" function normalize($sTheUrl)