Ejemplo n.º 1
0
 /**
  * Sets the optionGatherMethods value
  * Value must be {@link WsdlToPhpGenerator::OPT_GATH_METH_START_NAME} or {@link WsdlToPhpGenerator::OPT_GATH_METH_END_NAME}
  * @uses WsdlToPhpGenerator::OPT_GATH_METH_START_NAME
  * @uses WsdlToPhpGenerator::OPT_GATH_METH_END_NAME
  * @param int
  * @return bool
  */
 public static function setOptionGatherMethods($_optionGatherMethods = self::OPT_GATH_METH_START_NAME)
 {
     if ($_optionGatherMethods == self::OPT_GATH_METH_START_NAME || $_optionGatherMethods == self::OPT_GATH_METH_END_NAME) {
         self::$optionGatherMethods = $_optionGatherMethods;
         return true;
     } else {
         self::$optionGatherMethods = self::OPT_GATH_METH_START_NAME;
         return false;
     }
 }