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(); }
function showProfileBlock() { $block = new AccountProfileBlock($this, $this->alumno); $block->show(); }
function showContent() { $this->areYouSureForm(); $block = new AccountProfileBlock($this, $this->profile); $block->show(); }
function showProfileBlock() { $block = new AccountProfileBlock($this, $this->getTarget()); $block->show(); }