lithium\data\Model::_relationFieldName PHP Method

_relationFieldName() protected method

protected _relationFieldName ( $type, $name )
    protected function _relationFieldName($type, $name)
    {
        if (!isset($this->{$type}[$name]['fieldName'])) {
            $fieldName = static::connection()->relationFieldName($type, $name);
            $this->{$type}[$name]['fieldName'] = $fieldName;
        }
        return $this->{$type}[$name]['fieldName'];
    }