function __construct($out, Profile $profile) { parent::__construct($out); $this->profile = $profile; $user = common_current_user(); $this->lists = $profile->getLists($user); }
function __construct($out, $user, $searches) { parent::__construct($out); $this->user = $user; $this->searches = $searches; }
function __construct($action, $user) { parent::__construct($action); $this->user = $user; $this->groups = $user->getGroups(); }
function __construct($out, $user, $tags) { parent::__construct($out); $this->user = $user; $this->tags = $tags; }
function __construct($out, Profile $profile) { parent::__construct($out); $this->profile = $profile; $this->lists = $profile->getLists(Profile::current()); }