Skip to content
Extraits de code Groupes Projets
Controller.php 904 octets
Newer Older
  • Learn to ignore specific revisions
  • <?php
    /**
     * Piwik - Open source web analytics
    
     * @link http://piwik.org
     * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
    
     * @category Piwik_Plugins
    
    class Controller extends \Piwik\Controller
    
        public function index($fetch = false)
    
                Piwik_Translate('CustomVariables_CustomVariables'),
                $this->getCustomVariables(true), $fetch);
        }
    
    
        public function getCustomVariables($fetch = false)
    
            return ViewDataTable::renderReport($this->pluginName, __FUNCTION__, $fetch);
    
        public function getCustomVariablesValuesFromNameId($fetch = false)
    
            return ViewDataTable::renderReport($this->pluginName, __FUNCTION__, $fetch);