src/Tao/Database/Model.php
public function getColumns($bWithoutForeignKey = true, $bAliased = true, $bPrefixed = false)
    {
        $aColumns = $this->columns;

        if ($bWithoutForeignKey) {
            $aColumns = $this->removeForeignKeyColumns($aColumns);
        }

        if ($bAliased) {
            $aColumns = $this->aliaseColumns($aColumns, $this->getAlias());
        }

        if ($bPrefixed) {
            $aColumns = $this->prefixeColumns($aColumns, $this->getAlias());
        }

        return $aColumns;
    }
public function getColumns($bWithoutForeignKey = true, $bAliased = true, $bPrefixed = false)
    {
        $aColumns = $this->columns;

        if ($bWithoutForeignKey) {
            $aColumns = $this->removeForeignKeyColumns($aColumns);
        }

        if ($bAliased) {
            $aColumns = $this->aliaseColumns($aColumns, $this->getAlias());
        }

        if ($bPrefixed) {
            $aColumns = $this->prefixeColumns($aColumns, $this->getAlias());
        }

        return $aColumns;
    }
public function getColumns ( $ bWithoutForeignKey = true , $ bAliased = true , $ bPrefixed = false ) { $ aColumns = $ this -> columns ; if ( $ bWithoutForeignKey ) { $ aColumns = $ this -> removeForeignKeyColumns ( $ aColumns ) ; } if ( $ bAliased ) { $ aColumns = $ this -> aliaseColumns ( $ aColumns , $ this -> getAlias ( ) ) ; } if ( $ bPrefixed ) { $ aColumns = $ this -> prefixeColumns ( $ aColumns , $ this -> getAlias ( ) ) ; } return $ aColumns ; }
Get the columns names.

@param boolean $bWithoutForeignKey Return with or without foreign keys.
@param boolean $bAliased Return or not aliased columns names.
@param boolean $bPrefixed Return or not prefixed columns names.
@return array
Get the columns names .