/** * The modifyZone method checks if a zone ID exists and * modifies the details for the zone if it exists or returns an error * message, as appropriate. * * @access public * * @param string $sessionId * @param OA_Dll_ZoneInfo &$oZone <br /> * <b>Required properties:</b> zoneId<br /> * <b>Optional properties:</b> publisherId, zoneName, type, width, height<br /> * * @return boolean */ function modifyZone($sessionId, &$oZone) { if ($this->verifySession($sessionId)) { if (isset($oZone->zoneId)) { return $this->_validateResult($this->_dllZone->modify($oZone)); } else { $this->raiseError("Field 'zoneId' in structure does not exists"); return false; } } else { return false; } }