public function getAndSave($url, $display, $show_menu = true) { $this->url = $url; $this->display = $display; $this->show_menu = $show_menu; $this->save(); }