public function getReport($handler, $settings = null)
    {
        if (!is_array($handler)) {
            $handler = $this->getHandler($handler);
        }

        if (!isset($settings)) {
            $settings = $this->module->getSettings('ga_report');
        }

        return $this->getModel()->get($handler, $settings);
    }
public function getReport($handler, $settings = null)
    {
        if (!is_array($handler)) {
            $handler = $this->getHandler($handler);
        }

        if (!isset($settings)) {
            $settings = $this->module->getSettings('ga_report');
        }

        return $this->getModel()->get($handler, $settings);
    }
public function getReport ( $ handler , $ settings = null ) { if ( ! is_array ( $ handler ) ) { $ handler = $ this -> getHandler ( $ handler ) ; } if ( ! isset ( $ settings ) ) { $ settings = $ this -> module -> getSettings ( 'ga_report' ) ; } return $ this -> getModel ( ) -> get ( $ handler , $ settings ) ; }
Returns an array of Google Anylytics report
@param array|string $handler Either an array of handler data or a handler ID
@param array|null $settings An array of settings. If not provided, the module settings will be used
@return array
Returns an array of Google Anylytics report