
Public Member Functions | |
| fetchCollections ($collections, $list) | |
| guessAtom ($atom, JoinCapableQuery $query, $table=null, $parentRequired=true, $prefix=null) | |
Private Member Functions | |
| processPath (AbstractProtoClass $proto, $probablyPath, JoinCapableQuery $query, $table, $parentRequired=true, $prefix=null) | |
Definition at line 16 of file ProtoDAO.class.php.
| ProtoDAO::fetchCollections | ( | $ | collections, | |
| $ | list | |||
| ) |
Definition at line 18 of file ProtoDAO.class.php.
References DBField::create(), GenericDAO::getFields(), GenericDAO::getIdName(), ArrayUtils::getIdsArray(), GenericDAO::getObjectName(), GenericDAO::getTable(), Expression::in(), Assert::isTrue(), MetaRelation::MANY_TO_MANY, Expression::notNull(), MetaRelation::ONE_TO_MANY, processPath(), and OSQL::select().

| ProtoDAO::processPath | ( | AbstractProtoClass $ | proto, | |
| $ | probablyPath, | |||
| JoinCapableQuery $ | query, | |||
| $ | table, | |||
| $ | parentRequired = true, |
|||
| $ | prefix = null | |||
| ) | [private] |
Definition at line 142 of file ProtoDAO.class.php.
References DBField::create(), Expression::eq(), GenericDAO::getIdName(), GenericDAO::getObjectName(), AbstractProtoClass::getPropertyByName(), GenericDAO::getTable(), Assert::isNotNull(), Assert::isTrue(), JoinCapableQuery::join(), JoinCapableQuery::leftJoin(), MetaRelation::MANY_TO_MANY, and MetaRelation::ONE_TO_MANY.
Referenced by fetchCollections(), and guessAtom().

| ProtoDAO::guessAtom | ( | $ | atom, | |
| JoinCapableQuery $ | query, | |||
| $ | table = null, |
|||
| $ | parentRequired = true, |
|||
| $ | prefix = null | |||
| ) |
Definition at line 296 of file ProtoDAO.class.php.
References GenericDAO::$mapping, GenericDAO::getMapping(), GenericDAO::getObjectName(), GenericDAO::getTable(), and processPath().
Referenced by SQLFunction::toMapped(), PrefixUnaryExpression::toMapped(), PostfixUnaryExpression::toMapped(), LogicalBetween::toMapped(), InExpression::toMapped(), EqualsLowerExpression::toMapped(), and BinaryExpression::toMapped().

1.5.4