GoogleApiAdsCommon
[ class tree: GoogleApiAdsCommon ] [ index: GoogleApiAdsCommon ] [ all elements ]

Procedural File: XmlUtils.php

Source Location: /Common/Util/XmlUtils.php



Classes:

XmlUtils
A collection of utility methods for working with XML.


Page Details:

A collection of utility methods for working with XML.

PHP version 5

Copyright 2011, Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.




Tags:

author:  Adam Rogal <api.arogal@gmail.com>
author:  Eric Koleda <api.ekoleda@gmail.com>
copyright:  2011, Google Inc. All Rights Reserved.
license:  Apache License, Version 2.0








HandleXmlError [line 79]

boolean HandleXmlError( string $errno, string $errstr, string $errfile, integer $errline)

Caputures the warnings thrown by the loadXML function to create a proper DOMException.



Tags:

return:  FALSE if the normal error handler should continue


Parameters

string   $errno   contains the level of the error raised, as an integer
string   $errstr   contains the error message, as a string
string   $errfile   contains the filename that the error was raised in, as a string
integer   $errline   contains the line number the error was raised at, as an integer
[ Top ]



Documentation generated by phpDocumentor 1.4.3