protected function _associationName($field = null)
    {
        $alias = Inflector::singularize($this->_table->getAlias());
        if ($field) {
            $field = Inflector::camelize($field);
        }

        return $alias . $field . 'Version';
    }
protected function _associationName($field = null)
    {
        $alias = Inflector::singularize($this->_table->getAlias());
        if ($field) {
            $field = Inflector::camelize($field);
        }

        return $alias . $field . 'Version';
    }
protected function _associationName ( $ field = null ) { $ alias = Inflector :: singularize ( $ this -> _table -> getAlias ( ) ) ; if ( $ field ) { $ field = Inflector :: camelize ( $ field ) ; } return $ alias . $ field . 'Version' ; }
Returns default version association name.

@param string $field Field name.
@return string
Returns default version association name .