public function setFetchParameters($override = array()) { $params = $this->ini->hasGroup('DefaultFetchParams') ? $this->ini->group('DefaultFetchParams') : array(); if ($this->mainClass) { if ($this->ini->hasGroup('DefaultFetchParamsForClassIdentifier_' . $this->mainClass->attribute('identifier'))) { $params = $this->ini->group('DefaultFetchParamsForClassIdentifier_' . $this->mainClass->attribute('identifier')) + $params; } $params = array('ClassFilterType' => 'include', 'ClassFilterArray' => array($this->mainClass->attribute('identifier'))) + $params; } $this->fetchParameters = $override + $params; }