src/MVC/Relations/BelongsTo.php
protected function oneRelationValue($related, $model, $column = null)
    {
        $table = $this->checkModelType($model);
        //
        return $model->{!is_null($column) ? $column : $this->idKey($table)};
    }
protected function oneRelationValue($related, $model, $column = null)
    {
        $table = $this->checkModelType($model);
        //
        return $model->{!is_null($column) ? $column : $this->idKey($table)};
    }
protected function oneRelationValue ( $ related , $ model , $ column = null ) { $ table = $ this -> checkModelType ( $ model ) ; // return $ model -> { ! is_null ( $ column ) ? $ column : $ this -> idKey ( $ table ) } ; }
get the value of column of the relation.

@param $column : name of the column
@param $model : name of the model
get the value of column of the relation .