Remove references to vendorview.php and remove now unused vendorview.php
This commit is contained in:
committed by
WineHQ
parent
00bc2fbd27
commit
df607a5832
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user