function __construct($out)
 {
     $user = common_current_user();
     if (empty($user)) {
         throw new Exception("DefaultProfileBlock with no user.");
     }
     parent::__construct($out, $user->getProfile());
 }
 function showProfileBlock()
 {
     $block = new AccountProfileBlock($this, $this->tagged);
     $block->show();
 }
Example #3
0
 function showProfileBlock()
 {
     $block = new AccountProfileBlock($this, $this->alumno);
     $block->show();
 }
Example #4
0
 function showContent()
 {
     $this->areYouSureForm();
     $block = new AccountProfileBlock($this, $this->profile);
     $block->show();
 }
Example #5
0
 function showProfileBlock()
 {
     $block = new AccountProfileBlock($this, $this->getTarget());
     $block->show();
 }