public function getDefaultPeriod($defaultDate = null)
    {
        list($defaultDate, $defaultPeriod) = $this->getDefaultDateAndPeriod($defaultDate);

        return $defaultPeriod;
    }
public function getDefaultPeriod($defaultDate = null)
    {
        list($defaultDate, $defaultPeriod) = $this->getDefaultDateAndPeriod($defaultDate);

        return $defaultPeriod;
    }
public function getDefaultPeriod ( $ defaultDate = null ) { list ( $ defaultDate , $ defaultPeriod ) = $ this -> getDefaultDateAndPeriod ( $ defaultDate ) ; return $ defaultPeriod ; }
Returns default period type for Piwik reports.

@param string $defaultDate the default date string from which the default period will be guessed
@return string `'day'`, `'week'`, `'month'`, `'year'` or `'range'`
@api
Returns default period type for Piwik reports .