Exemple #1
0
 public function __construct(Registry $registry, $user, $job = '')
 {
     $this->registry = $registry;
     if (isset($_POST['addComment']) == false && isset($_POST['deleteComment']) == false) {
         $this->listRecentStatuses($user);
         $p = new ProfileModel($this->registry, $user);
         $this->username = $p->getUsername();
     }
 }