/** * Get title for blog posting (used in ilNotesGUI) * * @param int $a_blog_id * @param int $a_posting_id * @return string */ static function lookupSubObjectTitle($a_blog_id, $a_posting_id) { // page might be deleted, so setting halt on errors to false include_once "Modules/Blog/classes/class.ilBlogPosting.php"; $post = new ilBlogPosting($a_posting_id); if ($post->getBlogId() == $a_blog_id) { return $post->getTitle(); } }