public function &get($idSite, $period)
    {
        if (!isset($this->data[$idSite][$period])) {
            $this->data[$idSite][$period] = $this->defaultRow;
        }
        return $this->data[$idSite][$period];
    }
public function &get($idSite, $period)
    {
        if (!isset($this->data[$idSite][$period])) {
            $this->data[$idSite][$period] = $this->defaultRow;
        }
        return $this->data[$idSite][$period];
    }
public function & get ( $ idSite , $ period ) { if ( ! isset ( $ this -> data [ $ idSite ] [ $ period ] ) ) { $ this -> data [ $ idSite ] [ $ period ] = $ this -> defaultRow ; } return $ this -> data [ $ idSite ] [ $ period ] ; }
Returns a reference to the data for a specific site & period. If there is
no data for the given site ID & period, it is set to the default row.

@param int $idSite
@param string $period eg, '2012-01-01,2012-01-31'
Returns a reference to the data for a specific site & period . If there is no data for the given site ID & period it is set to the default row .