echo 'null';
}
echo "<br /><br />{$email} is unique: " . unique_email_db($email);
$email .= "_new";
echo "<br /><br />{$email} is unique: " . unique_email_db($email);
echo "<pre>\n\t--\n\t *\n\t * MEDIA\n\t *\n\t -\n\t</pre>";
$media = create_media_db(new OdMedia(-1, date('dMYHis') . 'filename.smp', 0, 1, 1), '1332');
if ($media) {
    formattedPrint($media, 'formattedPrint($media);');
    formattedPrint(get_media_byId_db($media->getId(), '1332'), 'formattedPrint(get_media_byId($media->getId()));');
} else {
    echo 'null';
}
// get_all_media_db($class, $postId, $taId, $rating, $ratingComp);
formattedPrint(get_all_media_db("1332", 1, 0, 0, 0), "get_all_media_db('1332', 1, 0, 0, 0);");
formattedPrint(get_all_media_db("1332", 0, 1, 0, 0), "get_all_media_db('1332', 0, 1, 0, 0);");
echo "<pre>\n\t--\n\t *\n\t * COMMENT\n\t *\n\t -\n\t</pre>";
$comment = create_comment_db(new OdComment(-1, 1, 1, 0, 'This is a sample comment with embedded <i>html</i>.'), '1332');
if ($comment) {
    formattedPrint($comment, 'formattedPrint($comment);');
    formattedPrint(get_media_byId_db($comment->getId(), '1332'), 'formattedPrint(get_media_byId($comment->getId()));');
} else {
    echo 'null';
}
formattedPrint(get_all_comments_db("1332", 1, 0, 0, 0), "get_all_comments_db('1332', 1, 0, 0, 0);");
formattedPrint(get_all_comments_db("1332", 0, 1, 0, 0), "get_all_comments_db('1332', 0, 1, 0, 0);");
echo "<pre>\n\t--\n\t *\n\t * POST\n\t *\n\t -\n\t</pre>";
$post = create_post_db(new OdPost(-1, "Sample Post", "Sample Description", $ta->getId(), "Insertion"), '1332');
if ($post) {
    formattedPrint($post, 'formattedPrint($post);');
    formattedPrint(get_media_byId_db($post->getId(), '1332'), 'formattedPrint(get_media_byId($post->getId()));');
 function getAllMedia($classNumber)
 {
     return get_all_media_db($class, $this->id, $this->taid);
 }