Controller\Webot::post PHP Method

post() public method

public post ( controller\Base $f3, array $params )
$f3 controller\Base
$params array
    public function post(\Base $f3, $params)
    {
        $this->response->data['SUBPART'] = 'webot_edit.html';
        $msg = \Flash::instance();
        if (isset($params['id'])) {
            // update existing
            $this->resource->load(array('_id = ?', $params['id']));
        }
        parent::post($f3, $params);
    }