index 72fd0825197689ebb6f78cbb9388637c23ac4303..f9d6fe1d626facd3b66d351a4d6b85c0b02d9bd2 100644 (file)
var $attributes= array();
var $objectclasses= array("whatever");
var $attributes= array();
var $objectclasses= array("whatever");
- function servdhcp ($config, $dn= NULL)
+ function servdhcp ($config, $dn= NULL, $parent= NULL)
{
{
- plugin::plugin ($config, $dn);
+ plugin::plugin ($config, $dn, $parent);
}
function execute()
{
}
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
/* Check supplied data */
function check()
{
/* Check supplied data */
function check()
{
- $message= array();
-
+ /* Call common method to give check the hook */
+ $message= plugin::check();
+
return ($message);
}
return ($message);
}