Beispiel #1
0
        internal static DOMText CreateDOMText(string value)
        {
            DOMText copy = new DOMText();

            copy.__construct(value);
            return(copy);
        }
Beispiel #2
0
 protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields)
 {
     if (IsAssociated)
     {
         return(new DOMText(XmlText));
     }
     else
     {
         DOMText copy = new DOMText();
         copy.__construct(this._value);
         return(copy);
     }
 }
Beispiel #3
0
 internal static DOMText CreateDOMText(string value)
 {
     DOMText copy = new DOMText();
     copy.__construct(value);
     return copy;
 }
Beispiel #4
0
		protected override PHP.Core.Reflection.DObject CloneObjectInternal(PHP.Core.Reflection.DTypeDesc caller, ScriptContext context, bool deepCopyFields)
		{
			if (IsAssociated) return new DOMText(XmlText);
			else
			{
				DOMText copy = new DOMText();
				copy.__construct(this._value);
				return copy;
			}
		}