Add objectGetChildren() method to classes without child objects
This commit is contained in:
committed by
WineHQ
parent
3c6340e581
commit
faf7d9bb19
@@ -269,6 +269,11 @@ class Bug
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
/* Get a list of bugs submitted by a given user */
|
/* Get a list of bugs submitted by a given user */
|
||||||
function listSubmittedBy($iUserId, $bQueued = true)
|
function listSubmittedBy($iUserId, $bQueued = true)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -379,6 +379,11 @@ class Comment {
|
|||||||
echo "</ul>\n";
|
echo "</ul>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
function display_comments_threaded($versionId, $threadId = 0)
|
function display_comments_threaded($versionId, $threadId = 0)
|
||||||
{
|
{
|
||||||
$hResult = Comment::grab_comments($versionId, $threadId);
|
$hResult = Comment::grab_comments($versionId, $threadId);
|
||||||
|
|||||||
@@ -63,6 +63,12 @@ class downloadurl
|
|||||||
return $sReturn;
|
return $sReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
/* We have none */
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
/* Output an editor for Download URL fields */
|
/* Output an editor for Download URL fields */
|
||||||
function outputEditor($oVersion = null, $sFormAction = null)
|
function outputEditor($oVersion = null, $sFormAction = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -819,6 +819,12 @@ class maintainer
|
|||||||
return array($aItemsPerPage, $iDefaultPerPage);
|
return array($aItemsPerPage, $iDefaultPerPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
/* We have none */
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
function update()
|
function update()
|
||||||
{
|
{
|
||||||
/* STUB: No updating possible at the moment */
|
/* STUB: No updating possible at the moment */
|
||||||
|
|||||||
@@ -61,6 +61,12 @@ class Monitor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
/* We have none */
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Creates a new Monitor.
|
* Creates a new Monitor.
|
||||||
* Informs interested people about the creation.
|
* Informs interested people about the creation.
|
||||||
|
|||||||
@@ -311,6 +311,11 @@ class Note {
|
|||||||
return $oManager->makeUrl("view", $this->objectGetId());
|
return $oManager->makeUrl("view", $this->objectGetId());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
//TODO: not sure if we want to use sTitle here or what
|
//TODO: not sure if we want to use sTitle here or what
|
||||||
function objectMakeLink()
|
function objectMakeLink()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -297,6 +297,12 @@ class screenshot
|
|||||||
return $this->oScreenshotImage->get_width();
|
return $this->oScreenshotImage->get_width();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
/* We have none */
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
function get_screenshot_height()
|
function get_screenshot_height()
|
||||||
{
|
{
|
||||||
$this->load_image(false);
|
$this->load_image(false);
|
||||||
|
|||||||
@@ -1079,6 +1079,12 @@ class testData{
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
/* We have none */
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
function objectDisplayAddItemHelp()
|
function objectDisplayAddItemHelp()
|
||||||
{
|
{
|
||||||
echo "<p>This is the screen for inputing test information so that others ";
|
echo "<p>This is the screen for inputing test information so that others ";
|
||||||
|
|||||||
@@ -499,6 +499,11 @@ class Url {
|
|||||||
return $sReturn;
|
return $sReturn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function objectGetChildren()
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
// if a url lacks "://" assume the url is an http one
|
// if a url lacks "://" assume the url is an http one
|
||||||
// and prepend "http://"
|
// and prepend "http://"
|
||||||
function normalize($sTheUrl)
|
function normalize($sTheUrl)
|
||||||
|
|||||||
Reference in New Issue
Block a user