src/fieldwork/Form.php
private function submit ()
    {
        foreach ($this->getFields() as $field)
            /* @var $field Field */
            $field->submit();
        $this->isCallbacksubmitted = true;
        foreach ($this->callback as $callback)
            if (is_callable($callback))
                call_user_func($callback, $this);
    }
private function submit ()
    {
        foreach ($this->getFields() as $field)
            /* @var $field Field */
            $field->submit();
        $this->isCallbacksubmitted = true;
        foreach ($this->callback as $callback)
            if (is_callable($callback))
                call_user_func($callback, $this);
    }
private function submit ( ) { foreach ( $ this -> getFields ( ) as $ field ) /* @var $field Field */ $ field -> submit ( ) ; $ this -> isCallbacksubmitted = true ; foreach ( $ this -> callback as $ callback ) if ( is_callable ( $ callback ) ) call_user_func ( $ callback , $ this ) ; }
Submits the form internally. You're not usually supposed to call this function directly.
Submits the form internally . You re not usually supposed to call this function directly .