Ciao ragazzi,
ho trovato finalmente la soluzione. A chiunque dovesse servire la posto di seguito:

Codice PHP:
   public function getLevel(&$dataLevel$level) {
       if (
count($dataLevel) > 0) {
            foreach(
$dataLevel as $key => $value) {
                
                
$childrensDB $this->getChildrens($key$level);
                if (
count($childrensDB) > 0) {
                    for (
$i=0$i<count($childrensDB); $i++) {                    
                                                
                        
$dataLevel[$key][$childrensDB[$i]['ID']] = array();                        
                    }
                }
                
                echo 
"<p style=\"text-indent : ".($level 10)."px\">".$key."</p>";
                
                
$this->getLevel($dataLevel[$key], $level 1);
                
            }
        }
        
        return 
$dataLevel;
    } 
Come potete notare l'unica cosa che è cambiata è il passaggio dell'array $dataLevel, non è più passato per valore, ma per riferimento. In questo modo spostiamo il puntato all'interno dell'array di nostro interesse.