code/libraries/joomlatools/library/database/table/abstract.php
public function getDefaults()
    {
        if (!isset($this->_defaults))
        {
            $defaults = array();
            $columns = $this->getColumns();

            foreach ($columns as $name => $description) {
                $defaults[$name] = $description->default;
            }

            $this->_defaults = $defaults;
        }

        return $this->_defaults;
    }
public function getDefaults()
    {
        if (!isset($this->_defaults))
        {
            $defaults = array();
            $columns = $this->getColumns();

            foreach ($columns as $name => $description) {
                $defaults[$name] = $description->default;
            }

            $this->_defaults = $defaults;
        }

        return $this->_defaults;
    }
public function getDefaults ( ) { if ( ! isset ( $ this -> _defaults ) ) { $ defaults = array ( ) ; $ columns = $ this -> getColumns ( ) ; foreach ( $ columns as $ name => $ description ) { $ defaults [ $ name ] = $ description -> default ; } $ this -> _defaults = $ defaults ; } return $ this -> _defaults ; }
Get default values for all columns

@return  array
Get default values for all columns