protected function validateIgnoreDocumentMargin($value) {
    if (!is_bool($value) &&
        !in_array($value, ['none', 'left', 'right', 'both'])
    ) {
      $this->triggerError('ignoreDocumentMargin is not valid');
      return FALSE;
    }
    return TRUE;
  }
protected function validateIgnoreDocumentMargin($value) {
    if (!is_bool($value) &&
        !in_array($value, ['none', 'left', 'right', 'both'])
    ) {
      $this->triggerError('ignoreDocumentMargin is not valid');
      return FALSE;
    }
    return TRUE;
  }
protected function validateIgnoreDocumentMargin ( $ value ) { if ( ! is_bool ( $ value ) && ! in_array ( $ value , [ 'none' , 'left' , 'right' , 'both' ] ) ) { $ this -> triggerError ( 'ignoreDocumentMargin is not valid' ) ; return FALSE ; } return TRUE ; }
Validates the ignoreDocumentMargin attribute.
Validates the ignoreDocumentMargin attribute .