src/Model/Behavior/UserBehavior.php
protected function _field($field) {
		if (!isset($this->_config['fieldMap'][$field])) {
			throw new RuntimeException(__d('user_tools', 'Invalid field "%s"!', $field));
		}

		return $this->_config['fieldMap'][$field];
	}
protected function _field($field) {
		if (!isset($this->_config['fieldMap'][$field])) {
			throw new RuntimeException(__d('user_tools', 'Invalid field "%s"!', $field));
		}

		return $this->_config['fieldMap'][$field];
	}
protected function _field ( $ field ) { if ( ! isset ( $ this -> _config [ 'fieldMap' ] [ $ field ] ) ) { throw new RuntimeException ( __d ( 'user_tools' , 'Invalid field "%s"!' , $ field ) ) ; } return $ this -> _config [ 'fieldMap' ] [ $ field ] ; }
Gets the mapped field name of the table

@param string $field Field name to get the mapped field for
@throws \RuntimeException
@return string field name of the table
Gets the mapped field name of the table