当前位置: 首页>>代码示例>>PHP>>正文


PHP Piwik_DataTable_Filter::__construct方法代码示例

本文整理汇总了PHP中Piwik_DataTable_Filter::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Piwik_DataTable_Filter::__construct方法的具体用法?PHP Piwik_DataTable_Filter::__construct怎么用?PHP Piwik_DataTable_Filter::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Piwik_DataTable_Filter的用法示例。


在下文中一共展示了Piwik_DataTable_Filter::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct($table, $detailName, $detailValue)
 {
     parent::__construct($table);
     $this->name = $detailName;
     $this->value = $detailValue;
     $this->filter();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:7,代码来源:AddConstantDetail.php

示例2: __construct

 public function __construct($table, $startRowToSummarize, $labelSummaryRow = Piwik_DataTable::LABEL_SUMMARY_ROW, $columnToSortByBeforeTruncating = null)
 {
     parent::__construct($table);
     $this->startRowToSummarize = $startRowToSummarize;
     $this->labelSummaryRow = $labelSummaryRow;
     $this->columnToSortByBeforeTruncating = $columnToSortByBeforeTruncating;
 }
开发者ID:0h546f6f78696342756e4e59,项目名称:piwik,代码行数:7,代码来源:AddSummaryRow.php

示例3: __construct

 public function __construct($table, $columnToFilter, $functionToApply, $functionParameters = null)
 {
     parent::__construct($table);
     $this->functionToApply = $functionToApply;
     $this->functionParameters = $functionParameters;
     $this->columnToFilter = $columnToFilter;
 }
开发者ID:0h546f6f78696342756e4e59,项目名称:piwik,代码行数:7,代码来源:ColumnCallbackReplace.php

示例4: __construct

 public function __construct($table, $columnToFilter, $patternToSearch)
 {
     parent::__construct($table);
     $this->patternToSearch = $patternToSearch;
     $this->columnToFilter = $columnToFilter;
     $this->filter();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:7,代码来源:Pattern.php

示例5: __construct

 public function __construct($table, $columnToFilter, $minimumValue)
 {
     $this->columnToFilter = $columnToFilter;
     self::$minimumValue = $minimumValue;
     parent::__construct($table);
     $this->filter();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:7,代码来源:ExcludeLowPopulation.php

示例6: __construct

 /**
  * Constructor.
  * 
  * @param Piwik_DataTable  $table           The DataTable to filter.
  * @param string           $groupByColumn   The column name to reduce.
  * @param mixed            $reduceFunction  The reduce function. This must alter the $groupByColumn in some way.
  * @param array            $parameters      Extra parameters to supply to the reduce function.
  */
 public function __construct($table, $groupByColumn, $reduceFunction, $parameters = array())
 {
     parent::__construct($table);
     $this->groupByColumn = $groupByColumn;
     $this->reduceFunction = $reduceFunction;
     $this->parameters = $parameters;
 }
开发者ID:nnnnathann,项目名称:piwik,代码行数:15,代码来源:GroupBy.php

示例7: __construct

 public function __construct($table, $columnToFilter, $functionToApply)
 {
     parent::__construct($table);
     $this->functionToApply = $functionToApply;
     $this->columnToFilter = $columnToFilter;
     $this->filter();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:7,代码来源:ColumnCallbackReplace.php

示例8: __construct

	/**
	 * @param $table
	 * @param $enable Automatically set to true when filter_update_columns_when_show_all_goals is found in the API request
	 * @param $processOnlyIdGoal
	 * @return unknown_type
	 */
	public function __construct( $table, $enable = true, $processOnlyIdGoal )
	{
		parent::__construct($table);
		$this->mappingIdToNameGoal = Piwik_Archive::$mappingFromIdToNameGoal;
		$this->processOnlyIdGoal = $processOnlyIdGoal;
		$this->filter();
	}
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:13,代码来源:UpdateColumnsWhenShowAllGoals.php

示例9: __construct

 public function __construct($table, $metadataName, $metadataValue)
 {
     parent::__construct($table);
     $this->name = $metadataName;
     $this->value = $metadataValue;
     $this->filter();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:7,代码来源:AddConstantMetadata.php

示例10: __construct

 /**
  * @param Piwik_DataTable  $table
  * @param string           $metadataToRead
  * @param string           $metadataToAdd
  * @param callback         $functionToApply
  */
 public function __construct($table, $metadataToRead, $metadataToAdd, $functionToApply)
 {
     parent::__construct($table);
     $this->functionToApply = $functionToApply;
     $this->metadataToRead = $metadataToRead;
     $this->metadataToAdd = $metadataToAdd;
 }
开发者ID:nnnnathann,项目名称:piwik,代码行数:13,代码来源:MetadataCallbackAddMetadata.php

示例11: __construct

	public function __construct( $table, $columnToFilter, $patternToSearch, $invertedMatch = false )
	{
		parent::__construct($table);
		$this->patternToSearch = $patternToSearch;
		$this->patternToSearchQuoted = self::getPatternQuoted($patternToSearch);
		$this->columnToFilter = $columnToFilter;
        $this->invertedMatch = $invertedMatch;
	}
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:8,代码来源:Pattern.php

示例12: __construct

 /**
  * @param DataTable Table
  * @param array Mapping to apply. Must have the format 	
  * 				array( 	OLD_COLUMN_NAME => NEW_COLUMN NAME,
  * 						OLD_COLUMN_NAME2 => NEW_COLUMN NAME2,
  * 					)
  */
 public function __construct($table, $mappingToApply = null)
 {
     parent::__construct($table);
     $this->mappingToApply = Piwik_Archive::$mappingFromIdToName;
     if (!is_null($mappingToApply)) {
         $this->mappingToApply = $mappingToApply;
     }
 }
开发者ID:Gninety,项目名称:Microweber,代码行数:15,代码来源:ReplaceColumnNames.php

示例13: __construct

 /**
  * @param DataTable Table
  * @param array Mapping to apply. Must have the format 	
  * 				array( 	OLD_COLUMN_NAME => NEW_COLUMN NAME,
  * 						OLD_COLUMN_NAME2 => NEW_COLUMN NAME2,
  * 					)
  */
 public function __construct($table, $mappingToApply = null)
 {
     parent::__construct($table);
     if (!is_null($mappingToApply)) {
         $this->mappingToApply = $mappingToApply;
     }
     $this->filter();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:15,代码来源:ReplaceColumnNames.php

示例14: __construct

 public function __construct($table, $columnToRead, $metadataToAdd, $functionToApply = null, $functionParameters = null)
 {
     parent::__construct($table);
     $this->functionToApply = $functionToApply;
     $this->functionParameters = $functionParameters;
     $this->columnToRead = $columnToRead;
     $this->metadataToAdd = $metadataToAdd;
 }
开发者ID:0h546f6f78696342756e4e59,项目名称:piwik,代码行数:8,代码来源:ColumnCallbackAddMetadata.php

示例15: __construct

 /**
  * @param Piwik_DataTable  $table
  * @param string|null      $newLabel  new label for summary row
  */
 public function __construct($table, $newLabel = null)
 {
     parent::__construct($table);
     if (is_null($newLabel)) {
         $newLabel = Piwik_Translate('General_Others');
     }
     $this->newLabel = $newLabel;
 }
开发者ID:nomoto-ubicast,项目名称:piwik,代码行数:12,代码来源:ReplaceSummaryRowLabel.php


注:本文中的Piwik_DataTable_Filter::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。