コード例 #1
0
 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;
 }
コード例 #2
0
 public function __construct($valuePropertyName, $weightedGradeProperyName, ResultFormatter $parent = NULL)
 {
     parent::__construct($parent);
     $this->valuePropertyName = $valuePropertyName;
     $this->weightedGradeProperyName = $weightedGradeProperyName;
 }