예제 #1
0
function myprofile_bundles()
{
    /* if you create a new bundle, register it in here, so it receives the plugin's routines */
    return array("essence" => MyProfileEssence::get_instance(), "comments" => MyProfileComments::get_instance(), "buddylist" => MyProfileBuddyList::get_instance(), "referredby" => MyProfileReferredBy::get_instance(), "visitors" => MyProfileVisitors::get_instance(), "permissions" => MyProfilePermissions::get_instance());
}
 public function buildShowLink(MybbStuff_MyAlerts_Entity_Alert $alert)
 {
     $alertContent = $alert->getExtraDetails();
     return MyProfileComments::get_instance()->build_comment_link($alertContent["cid"]);
 }