Last changes for the release of November 15th
This commit is contained in:
@@ -12,6 +12,19 @@ class PMDashlet extends DashletInstance implements DashletInterface {
|
||||
|
||||
// Interface functions
|
||||
|
||||
public static function getAdditionalFields() {
|
||||
try {
|
||||
//Change this in the next release
|
||||
$className = 'dashletOpenVSCompleted';
|
||||
G::LoadClass($className);
|
||||
eval("\$additionalFields = $className::getAdditionalFields();");
|
||||
return $additionalFields;
|
||||
}
|
||||
catch (Exception $error) {die('xxx');
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
public function setup($dasInsUid) {
|
||||
try {
|
||||
$this->dashletInstance = $this->loadDashletInstance($dasInsUid);
|
||||
@@ -36,17 +49,6 @@ class PMDashlet extends DashletInstance implements DashletInterface {
|
||||
}
|
||||
}
|
||||
|
||||
public function getAdditionalFields() {
|
||||
try {
|
||||
//Change this in the next release
|
||||
G::LoadClass('dashletOpenVSCompleted');
|
||||
return dashletOpenVSCompleted::getAdditionalFields();
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
// Getter and Setters
|
||||
|
||||
public function getDashletInstance() {
|
||||
|
||||
Reference in New Issue
Block a user