Exemple #1
0
 public function event_updateTableAlias($oldTableAlias, $newTableAlias)
 {
     parent::event_updateTableAlias($oldTableAlias, $newTableAlias);
     $callback = new ColumnStatementCompositeEntityParser__TableAliasUpdater($oldTableAlias, $newTableAlias, FALSE);
     $parser = new ColumnStatementCompositeEntityParser();
     $this->value = $parser->parse($this->value, array($callback, 'updateTableAlias'));
 }
    public function event_updateTableAlias($oldTableAlias, $newTableAlias) {
        parent::event_updateTableAlias($oldTableAlias, $newTableAlias);

        $callback = new ColumnStatementCompositeEntityParser__TableAliasUpdater($oldTableAlias, $newTableAlias, FALSE);

        $parser = new FormulaExpressionParser(SQLFormulaExpressionHandler::LANGUAGE__SQL);
        $this->value = $parser->parse($this->value, array($callback, 'updateTableAlias'));
    }