Contracconfig Hooks WIP
This commit is contained in:
committed by
Spitzer_Daniel
parent
e21aa35c37
commit
f1f53cec73
@@ -1,42 +0,0 @@
|
||||
<?php
|
||||
|
||||
class Contractconfig_Hook_Voip extends Contractconfig_Hook {
|
||||
private $my_product_attributes = ["needs_number"];
|
||||
|
||||
/*
|
||||
* Checks to determine if class needs to work on contract.
|
||||
*/
|
||||
public function isResponsible(Contract $contract) {
|
||||
|
||||
/*
|
||||
* Test for standard checks
|
||||
* (Only Producttech attributes for now)
|
||||
*/
|
||||
if(!parent::isResponsible()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// do additional checks
|
||||
|
||||
}
|
||||
|
||||
public function init() {
|
||||
|
||||
}
|
||||
|
||||
public function beforeSave() {
|
||||
|
||||
}
|
||||
|
||||
public function afterSave() {
|
||||
|
||||
}
|
||||
|
||||
public function beforeDelete() {
|
||||
|
||||
}
|
||||
|
||||
public function afterDelete() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user