Example #1
0
 /**
  * Converts camel case into underscore (e.g. tenantId --> tenant_id). Uses a workaround for non-compatible format
  * of field 'fabricURL'.
  *
  * @param string $field
  * @return string
  */
 protected function _underscore($field)
 {
     // _underscore() unable to correctly process strings with several uppercase letters in a row
     return parent::_underscore($field == 'fabricURL' ? 'fabricUrl' : $field);
 }