Explorar el Código

Making members protected

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19547 44c647ce-9c0f-0410-b52a-842ac1e357ba
lars hace 16 años
padre
commit
ab736abfc0
Se han modificado 1 ficheros con 5 adiciones y 6 borrados
  1. 5 6
      library/Zend/XmlRpc/Value.php

+ 5 - 6
library/Zend/XmlRpc/Value.php

@@ -87,7 +87,6 @@ abstract class Zend_XmlRpc_Value
     const XMLRPC_TYPE_NIL       = 'nil';
     const XMLRPC_TYPE_APACHENIL = 'ex:nil';
 
-
     /**
      * Get the native XML-RPC type (the type is one of the Zend_XmlRpc_Value::XMLRPC_TYPE_* constants)
      *
@@ -227,7 +226,7 @@ abstract class Zend_XmlRpc_Value
      * @return Zend_XmlRpc_Value
      * @static
      */
-    private static function _phpVarToNativeXmlRpc($value)
+    protected static function _phpVarToNativeXmlRpc($value)
     {
         switch (gettype($value)) {
             case 'object':
@@ -291,7 +290,7 @@ abstract class Zend_XmlRpc_Value
      * @return Zend_XmlRpc_Value
      * @static
      */
-    private static function _xmlStringToNativeXmlRpc($xml)
+    protected static function _xmlStringToNativeXmlRpc($xml)
     {
         self::_createSimpleXMLElement($xml);
 
@@ -388,7 +387,7 @@ abstract class Zend_XmlRpc_Value
         return $xmlrpcValue;
     }
 
-    private static function _createSimpleXMLElement(&$xml)
+    protected static function _createSimpleXMLElement(&$xml)
     {
         if ($xml instanceof SimpleXMLElement) {
             return;
@@ -411,7 +410,7 @@ abstract class Zend_XmlRpc_Value
      * @param string &$value Value bind variable
      * @return void
      */
-    private static function _extractTypeAndValue(SimpleXMLElement $xml, &$type, &$value)
+    protected static function _extractTypeAndValue(SimpleXMLElement $xml, &$type, &$value)
     {
         list($type, $value) = each($xml);
 
@@ -437,7 +436,7 @@ abstract class Zend_XmlRpc_Value
      * @param $xml
      * @return void
      */
-    private function _setXML($xml)
+    protected function _setXML($xml)
     {
         $this->_as_xml = $xml;
     }