public function setSection($sec, $pairs) { if (!is_array($this->sections)) { $this->sections = array(); } if (!is_array($pairs)) { throw new Config_Lite_Exception_InvalidArgument('array expected.'); } $this->sections[$sec] = $pairs; return $this; }