public function addSelfSelectColumns($force = false)
    {
        if ($this->isSelfSelected && !$force) {
            return $this;
        }

        $tableMap = $this->modelTableMapName;
        $tableMap::addSelectColumns($this, $this->useAliasInSQL ? $this->modelAlias : null);
        $this->isSelfSelected = true;

        return $this;
    }
public function addSelfSelectColumns($force = false)
    {
        if ($this->isSelfSelected && !$force) {
            return $this;
        }

        $tableMap = $this->modelTableMapName;
        $tableMap::addSelectColumns($this, $this->useAliasInSQL ? $this->modelAlias : null);
        $this->isSelfSelected = true;

        return $this;
    }
public function addSelfSelectColumns ( $ force = false ) { if ( $ this -> isSelfSelected && ! $ force ) { return $ this ; } $ tableMap = $ this -> modelTableMapName ; $ tableMap :: addSelectColumns ( $ this , $ this -> useAliasInSQL ? $ this -> modelAlias : null ) ; $ this -> isSelfSelected = true ; return $ this ; }
Adds the select columns for the current table

@param bool $force To enforce adding columns for changed alias, set it to true (f.e. with sub selects)
@return $this|ModelCriteria The current object, for fluid interface
Adds the select columns for the current table