#166 Allow the definition of persistent classes having no table defined, and added a sample code for a null password authentication scheme

SVN:trunk[627]
This commit is contained in:
Romain Quetiez
2010-07-26 08:32:37 +00:00
parent 437066516d
commit b3594f5899
5 changed files with 86 additions and 6 deletions

View File

@@ -1727,7 +1727,7 @@ abstract class MetaModel
// Then we join the queries of the eventual parent classes (compound model)
foreach(self::EnumParentClasses($sClass) as $sParentClass)
{
if (self::DBGetTable($sParentClass) == "") continue;
if (!self::HasTable($sParentClass)) continue;
self::DbgTrace("Parent class: $sParentClass... let's call MakeQuerySingleTable()");
$oSelectParentTable = self::MakeQuerySingleTable($aSelectedClasses, $oConditionTree, $aClassAliases, $aTableAliases, $aTranslation, $oFilter, $sParentClass, $aExpectedAtts, $aExtKeys, $aValues);
if (is_null($oSelectBase))