Example #1
0
 function __construct($out, Profile $profile)
 {
     parent::__construct($out);
     $this->profile = $profile;
     $user = common_current_user();
     $this->lists = $profile->getLists($user);
 }
Example #2
0
 function __construct($out, $user, $searches)
 {
     parent::__construct($out);
     $this->user = $user;
     $this->searches = $searches;
 }
Example #3
0
 function __construct($action, $user)
 {
     parent::__construct($action);
     $this->user = $user;
     $this->groups = $user->getGroups();
 }
Example #4
0
 function __construct($out, $user, $tags)
 {
     parent::__construct($out);
     $this->user = $user;
     $this->tags = $tags;
 }
Example #5
0
 function __construct($out, Profile $profile)
 {
     parent::__construct($out);
     $this->profile = $profile;
     $this->lists = $profile->getLists(Profile::current());
 }