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