public function offsetSet($offset, $field) {

    if (!is_a($field, 'PodioAppField')) {
      throw new PodioDataIntegrityError("Objects in PodioAppFieldCollection must be of class PodioAppField");
    }

    parent::offsetSet($offset, $field);
  }
public function offsetSet($offset, $field) {

    if (!is_a($field, 'PodioAppField')) {
      throw new PodioDataIntegrityError("Objects in PodioAppFieldCollection must be of class PodioAppField");
    }

    parent::offsetSet($offset, $field);
  }
public function offsetSet ( $ offset , $ field ) { if ( ! is_a ( $ field , 'PodioAppField' ) ) { throw new PodioDataIntegrityError ( "Objects in PodioAppFieldCollection must be of class PodioAppField" ) ; } parent :: offsetSet ( $ offset , $ field ) ; }
Array access. Add field to collection.
Array access . Add field to collection .