Ejemplo n.º 1
0
 protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields)
 {
     if (IsAssociated)
     {
         return(new DOMElement(XmlElement));
     }
     else
     {
         DOMElement copy = new DOMElement();
         copy.__construct(this._name, this._value, this._namespaceUri);
         return(copy);
     }
 }
Ejemplo n.º 2
0
		protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields)
		{
			if (IsAssociated) return new DOMElement(XmlElement);
			else
			{
				DOMElement copy = new DOMElement();
				copy.__construct(this._name, this._value, this._namespaceUri);
				return copy;
			}
		}