Ejemplo n.º 1
0
 /**
  * Set the maximum number of redirects to follow during HTTP operations
  *
  * @param int $maxRedirects Maximum number of redirects to follow
  * @return void
  */
 public static function setMaxRedirects($maxRedirects)
 {
     self::$_maxRedirects = $maxRedirects;
 }
Ejemplo n.º 2
0
 /**
  * Enable/disable the use of XML to object mapping.
  *
  * @param boolean $value Pass in true to use the XML to object mapping.
  *                       Pass in false or null to disable it.
  * @return void
  */
 public static function useObjectMapping($value)
 {
     self::$_useObjectMapping = (bool) $value;
 }