public function __construct($table, $metadataToFilter, $functionToApply, $functionParameters = null) { parent::__construct($table, $metadataToFilter, $functionToApply, $functionParameters); }
/** * Constructor. * * @param Piwik_DataTable $table The DataTable that will be filtered. * @param string $labelSingular The string to use when the range being beautified * is equal to '1-1 units'. * @param string $labelPlural The string to use when the range being beautified * references more than one unit. This must be a format * string that takes one string parameter. */ public function __construct($table, $labelSingular, $labelPlural) { parent::__construct($table, 'label', array($this, 'beautify'), array()); $this->labelSingular = $labelSingular; $this->labelPlural = $labelPlural; }
/** * @param Piwik_DataTable $table * @param array|string $metadataToFilter * @param callback $functionToApply * @param null|array $functionParameters * @param array $extraColumnParameters */ public function __construct($table, $metadataToFilter, $functionToApply, $functionParameters = null, $extraColumnParameters = array()) { parent::__construct($table, $metadataToFilter, $functionToApply, $functionParameters, $extraColumnParameters); }