當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Piwik_DataTable_Filter類代碼示例

本文整理匯總了PHP中Piwik_DataTable_Filter的典型用法代碼示例。如果您正苦於以下問題:PHP Piwik_DataTable_Filter類的具體用法?PHP Piwik_DataTable_Filter怎麽用?PHP Piwik_DataTable_Filter使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了Piwik_DataTable_Filter類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

	public function __construct( $table, $columnToFilter, $patternToSearch )
	{
		parent::__construct($table);
		$this->patternToSearch = $patternToSearch;
		$this->patternToSearchQuoted = Piwik_DataTable_Filter_Pattern::getPatternQuoted($patternToSearch);
		$this->patternToSearch = $patternToSearch;//preg_quote($patternToSearch);
		$this->columnToFilter = $columnToFilter;
	}
開發者ID:BackupTheBerlios,項目名稱:oos-svn,代碼行數:8,代碼來源:PatternRecursive.php

示例2: __construct

 public function __construct($table, $detailName, $detailValue)
 {
     parent::__construct($table);
     $this->name = $detailName;
     $this->value = $detailValue;
     $this->filter();
 }
開發者ID:Doluci,項目名稱:tomatocart,代碼行數:7,代碼來源:AddConstantDetail.php

示例3: __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

示例4: __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

示例5: __construct

 public function __construct($table, $columnToFilter, $patternToSearch)
 {
     parent::__construct($table);
     $this->patternToSearch = $patternToSearch;
     $this->columnToFilter = $columnToFilter;
     $this->filter();
 }
開發者ID:Doluci,項目名稱:tomatocart,代碼行數:7,代碼來源:Pattern.php

示例6: __construct

 public function __construct($table, $columnToFilter, $minimumValue)
 {
     $this->columnToFilter = $columnToFilter;
     self::$minimumValue = $minimumValue;
     parent::__construct($table);
     $this->filter();
 }
開發者ID:Doluci,項目名稱:tomatocart,代碼行數:7,代碼來源:ExcludeLowPopulation.php

示例7: __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

示例8: __construct

 public function __construct($table, $columnToFilter, $functionToApply)
 {
     parent::__construct($table);
     $this->functionToApply = $functionToApply;
     $this->columnToFilter = $columnToFilter;
     $this->filter();
 }
開發者ID:Doluci,項目名稱:tomatocart,代碼行數:7,代碼來源:ColumnCallbackReplace.php

示例9: __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

示例10: __construct

 public function __construct($table, $metadataName, $metadataValue)
 {
     parent::__construct($table);
     $this->name = $metadataName;
     $this->value = $metadataValue;
     $this->filter();
 }
開發者ID:Doluci,項目名稱:tomatocart,代碼行數:7,代碼來源:AddConstantMetadata.php

示例11: __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

示例12: __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

示例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);
     $this->mappingToApply = Piwik_Archive::$mappingFromIdToName;
     if (!is_null($mappingToApply)) {
         $this->mappingToApply = $mappingToApply;
     }
 }
開發者ID:Gninety,項目名稱:Microweber,代碼行數:15,代碼來源:ReplaceColumnNames.php

示例14: __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

示例15: __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


注:本文中的Piwik_DataTable_Filter類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。