profile_setFBML() public method

Sets the FBML for the profile of the user attached to this session
public profile_setFBML ( string $markup, $uid = null ) : array
$markup string The FBML that describes the profile presence of this app for the user
return array A list of strings describing any compile errors for the submitted FBML
 function profile_setFBML($markup, $uid = null, $profile = '', $profile_action = '', $mobile_profile = '', $profile_main = '', $st1 = null, $st2 = null)
 {
     if ($uid != null) {
         $user_id = $uid;
     } else {
         $user_id = $this->m_an->get_fb_param('user');
     }
     $this->m_an->gen_profile_setFBML_link($profile, $st1 = null, $st2 = null, $user_id);
     $this->m_an->gen_profile_setFBML_link($mobile_profile, $st1 = null, $st2 = null, $user_id);
     $this->m_an->gen_profile_setFBML_link($profile_main, $st1 = null, $st2 = null, $user_id);
     $r = parent::profile_setFBML($markup, $uid, $profile, $profile_action, $mobile_profile, $profile_main);
     if (!empty($r)) {
         $this->m_an->kt_profile_setFBML_send($user_id, $st1, $st2);
     }
     return $r;
 }