Remove references to vendorview.php and remove now unused vendorview.php

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-03-13 20:59:45 +00:00
committed by WineHQ
parent 00bc2fbd27
commit df607a5832
3 changed files with 25 additions and 71 deletions

View File

@@ -248,6 +248,19 @@ class Vendor {
echo '</ol>',"\n";
}
}
/* Make a URL for viewing the specified vendor */
function objectMakeUrl()
{
$oManager = new objectManager("vendor", "View Vendor");
return $oManager->makeUrl("view", $this->iVendorId);
}
/* Make a HTML link for viewing the specified vendor */
function objectMakeLink()
{
return "<a href=\"".$this->objectMakeUrl()."\">$this->sName</a>";
}
}
/* Get the total number of Vendors in the database */