public function __construct($amountPropertyNames, $generatedColumnPrefix = NULL, $generatedColumnSuffix = '_percent', ResultFormatter $parent = NULL) { parent::__construct($parent); $this->amountPropertyNames = is_array($amountPropertyNames) ? $amountPropertyNames : array($amountPropertyNames); $this->generatedColumnPrefix = $generatedColumnPrefix; $this->generatedColumnSuffix = $generatedColumnSuffix; }
public function __construct($valuePropertyName, $weightedGradeProperyName, ResultFormatter $parent = NULL) { parent::__construct($parent); $this->valuePropertyName = $valuePropertyName; $this->weightedGradeProperyName = $weightedGradeProperyName; }