lib/components/types/Module.php
public function getFormSegment($primaryModel = null, $settings = [])
    {
        if (empty($primaryModel)) {
            return false;
        }

        return $primaryModel->form($settings);
    }
public function getFormSegment($primaryModel = null, $settings = [])
    {
        if (empty($primaryModel)) {
            return false;
        }

        return $primaryModel->form($settings);
    }
public function getFormSegment ( $ primaryModel = null , $ settings = [ ] ) { if ( empty ( $ primaryModel ) ) { return false ; } return $ primaryModel -> form ( $ settings ) ; }
Get form segment.

@param [[@doctodo param_type:primaryModel]] $primaryModel [[@doctodo param_description:primaryModel]] [optional]
@param array                                $settings     [[@doctodo param_description:settings]] [optional]

@return [[@doctodo return_type:getFormSegment]] [[@doctodo return_description:getFormSegment]]
Get form segment .