public function setDefaultSource($defaultSource = self::DEFAULT_NONE)
    {
        if (!in_array($defaultSource, array(self::DEFAULT_CLASS, self::DEFAULT_DB, self::DEFAULT_NONE))) {
            $defaultSource = self::DEFAULT_NONE;
        }

        $this->_defaultSource = $defaultSource;
        return $this;
    }
public function setDefaultSource($defaultSource = self::DEFAULT_NONE)
    {
        if (!in_array($defaultSource, array(self::DEFAULT_CLASS, self::DEFAULT_DB, self::DEFAULT_NONE))) {
            $defaultSource = self::DEFAULT_NONE;
        }

        $this->_defaultSource = $defaultSource;
        return $this;
    }
public function setDefaultSource ( $ defaultSource = self :: DEFAULT_NONE ) { if ( ! in_array ( $ defaultSource , array ( self :: DEFAULT_CLASS , self :: DEFAULT_DB , self :: DEFAULT_NONE ) ) ) { $ defaultSource = self :: DEFAULT_NONE ; } $ this -> _defaultSource = $ defaultSource ; return $ this ; }
set the defaultSource property - this tells the table class where to find default values

@param string $defaultSource
@return Zend_Db_Table_Abstract
set the defaultSource property - this tells the table class where to find default values