public function post() { if (isset($_SESSION['account_id'])) { $this->iAccountID = $_SESSION['account_id']; parent::post(); } }