public function findOne() { $doc = $this->app->db->findOne("common/forms", $this->param("filter", [])); return $doc ? json_encode($doc) : '{}'; }