コード例 #1
0
ファイル: listsnav.php プロジェクト: Grasia/bolotweet
 function __construct($out, Profile $profile)
 {
     parent::__construct($out);
     $this->profile = $profile;
     $user = common_current_user();
     $this->lists = $profile->getLists($user);
 }
コード例 #2
0
ファイル: groupsnav.php プロジェクト: phpsource/gnu-social
 function item($actionName, array $args, $label, $description, $id = null, $cls = null)
 {
     if ($actionName != 'placeholder') {
         return parent::item($actionName, $args, $label, $description, $id, $cls);
     }
     if (empty($id)) {
         $id = $this->menuItemID('showgroup', array('nickname' => $args['nickname']));
     }
     $url = $args['mainpage'];
     $this->out->menuItem($url, $label, $description, $this->isCurrent($actionName, $args), $id, $cls);
 }
コード例 #3
0
ファイル: searchsubmenu.php プロジェクト: Grasia/bolotweet
 function __construct($out, $user, $searches)
 {
     parent::__construct($out);
     $this->user = $user;
     $this->searches = $searches;
 }
コード例 #4
0
 function __construct($out, $user, $tags)
 {
     parent::__construct($out);
     $this->user = $user;
     $this->tags = $tags;
 }
コード例 #5
0
ファイル: listsnav.php プロジェクト: bashrc/gnusocial-debian
 function __construct($out, Profile $profile)
 {
     parent::__construct($out);
     $this->profile = $profile;
     $this->lists = $profile->getLists(Profile::current());
 }