Generalmente los metodos retornan un valor.
 
una posibilidad es   
Código PHP:
Ver original- Class Profile { 
-     public function Things($userid) 
-    { 
-          $sql = "SELECT * FROM usuarios WHERE id = $userid";  
-          $nombre = $toarray["name"]; 
-          return $nombre; 
-     } 
- }   
-   
- // en tu codigo 
- $p = new Profile(); 
- $nombre = $p->Things($userid); 
- // y en $p quedaria ese valor 
La otra forma es cargarla en un atributo de clase  como te dijo zarkiel y luego un metodo que te lo da...   
Código PHP:
Ver original- Class Profile { 
-   
-    private $_nombre; 
-   
-     public function Things($userid) 
-    { 
-          $sql = "SELECT * FROM usuarios WHERE id = $userid";  
-          $this->nombre = $toarray["name"]; 
-          return $this->nombre ; 
-     } 
-   
-   
- // y luego el metodo 
-      public function getNombre() 
-     { 
-           return $this->nombre; 
-     } 
-   
- } 
-   
- // y con 
- $p = new Profile(); 
- $p->Things($userid); 
- echo $p->getNombre(); 
Saludos