<?php $id = $_POST['id']; $title = $_POST['title']; BlogPost::ROW($id)->setTitle($title);
public function getPost() { if ($this->row['Post'] == 0) { return null; } else { return BlogPost::ROW($this->row['Post']); } }