예제 #1
0
 /**
  * Checks whether a configuration value within listView. has a positive
  * (thus non-zero) integer value.
  *
  * @param string $fieldName
  *        TS setup field name to extract (within listView.), must not be empty
  * @param string $explanation
  *        a sentence explaining what that configuration value is needed for,
  *        must not be empty
  *
  * @return void
  */
 protected function checkListViewIfPositiveInteger($fieldName, $explanation)
 {
     $fieldSubPath = 'listView.' . $fieldName;
     $value = $this->objectToCheck->getListViewConfValueString($fieldName);
     $this->checkIfPositiveIntegerValue($value, $fieldSubPath, FALSE, $explanation);
 }