Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }