updatePageVersionABTestingAmount() public method

[updatePageVersionABTestingAmount description]
public updatePageVersionABTestingAmount ( [type] $pageVersionId, [type] $amount ) : [type]
$pageVersionId [type]
$amount [type]
return [type]
Beispiel #1
0
 /**
  * Updates the page version's ab testing percentage
  * amount. This percentage is the chance it will be picked
  * during the dice roll for A|B testing
  *
  * @param  [type] $input
  * @return [type]
  */
 public function requestUpdatePageVersionAbTesting($input)
 {
     $pageVersionId = $input['pageVersionId'];
     $amount = $input['amount'];
     $this->PageManager->updatePageVersionABTestingAmount($pageVersionId, $amount);
     return '';
 }