Modularization of the portal. The entry points for portals is now defined in XML, and thus can be altered by an extension.

SVN:trunk[3509]
This commit is contained in:
Denis Flaven
2015-03-23 16:02:44 +00:00
parent fa0d408664
commit 4919ca88ec
13 changed files with 338 additions and 44 deletions

View File

@@ -171,6 +171,40 @@ class MFDeltaModule extends MFModule
}
}
/**
* MFDeltaModule: an optional module, made of a single file
* @package ModelFactory
*/
class MFCoreModule extends MFModule
{
public function __construct($sName, $sLabel, $sDeltaFile)
{
$this->sId = $sName;
$this->sName = $sName;
$this->sVersion = '1.0';
$this->sRootDir = '';
$this->sLabel = $sLabel;
$this->aDataModels = array($sDeltaFile);
}
public function GetRootDir()
{
return '';
}
public function GetModuleDir()
{
return '';
}
public function GetDictionaryFiles()
{
return array();
}
}
/**
* ModelFactory: the class that manages the in-memory representation of the XML MetaModel
* @package ModelFactory