コード例 #1
0
ファイル: User.php プロジェクト: mikevanwinkle/cli
 public function __construct($id = null)
 {
     if (null === $id) {
         $this->id = Session::getValue('user_uuid');
     } else {
         $this->id = $id;
     }
     $this->getProfile();
     self::$instance = $this;
     return $this;
 }
コード例 #2
0
ファイル: User.php プロジェクト: reynoldsalec/cli
 public function __construct($id = null)
 {
     if (null === $id) {
         $this->id = Session::getValue('user_uuid');
     } else {
         $this->id = $id;
     }
     $this->workflows = new Workflows(array('owner' => $this, 'owner_type' => 'user'));
     $this->getProfile();
     self::$instance = $this;
     return $this;
 }