post = $post; $this->iri = $iri; //now the developer can change the iri of the rdf with the class methods $this->redirect_location = $redirect_location; //and the redirect location once the form has been processed } function not_empty($val='', $parent_text) { if(strlen($val) < 1 ) { $this->errors[] = $parent_text.' is empty.'; return false; } else { return $val; } } function set_iri($val='', $parent_text) { $this->iri = $val; } } ?>