private function getForwardOnlyField()
    {
        $fFields = [];
        $fields = $this->fetchFields(['reverse' => false]);
        foreach ($fields as $field) {
            $fFields[$field->getName()] = $field;

            // Due to the way powerorm's internals work, getField() should also
            // be able to fetch a field by attname. In the case of a concrete
            // field with relation, includes the *_id name too
            $fFields[$field->getAttrName()] = $field;
        }

        return $fFields;
    }
private function getForwardOnlyField()
    {
        $fFields = [];
        $fields = $this->fetchFields(['reverse' => false]);
        foreach ($fields as $field) {
            $fFields[$field->getName()] = $field;

            // Due to the way powerorm's internals work, getField() should also
            // be able to fetch a field by attname. In the case of a concrete
            // field with relation, includes the *_id name too
            $fFields[$field->getAttrName()] = $field;
        }

        return $fFields;
    }
private function getForwardOnlyField ( ) { $ fFields = [ ] ; $ fields = $ this -> fetchFields ( [ 'reverse' => false ] ) ; foreach ( $ fields as $ field ) { $ fFields [ $ field -> getName ( ) ] = $ field ; // Due to the way powerorm's internals work, getField() should also // be able to fetch a field by attname. In the case of a concrete // field with relation, includes the *_id name too $ fFields [ $ field -> getAttrName ( ) ] = $ field ; } return $ fFields ; }
Used only when we are trying to get field that belongs to the scope model.

@return Field[]

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
Used only when we are trying to get field that belongs to the scope model .