PHP 8.2.31
Preview: new-c.yaml Size: 1.96 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Element/new-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Constructor
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "arg:"
    body: if not supplied, will be set to the default value. If a String, the name of this object will be set to the argument. If an Element, the object will be shallowly cloned; name, attributes, and namespaces will be copied. Children will <tt>not</tt> be copied.
  - !ruby/struct:SM::Flow::LI 
    label: "parent:"
    body: if supplied, must be a Parent, and will be used as the parent of this object.
  - !ruby/struct:SM::Flow::LI 
    label: "context:"
    body: "If supplied, must be a hash containing context items. Context items include:"
  type: :NOTE
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:respect_whitespace</tt> the value of this is :<tt>all</tt> or an array of strings being the names of the elements to respect whitespace for. Defaults to :<tt>all</tt>.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:compress_whitespace</tt> the value can be :<tt>all</tt> or an array of strings being the names of the elements to ignore whitespace on. Overrides :<tt>respect_whitespace</tt>.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:ignore_whitespace_nodes</tt> the value can be :<tt>all</tt> or an array of strings being the names of the elements in which to ignore whitespace-only nodes. If this is set, Text nodes which contain only whitespace will not be added to the document tree.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: <tt>:raw</tt> can be :<tt>all</tt>, or an array of strings being the names of the elements to process in raw mode. In raw mode, special characters in text is not converted to or from entities.
  type: :BULLET
full_name: REXML::Element::new
is_singleton: true
name: new
params: ( arg = UNDEFINED, parent=nil, context=nil )
visibility: public

Directory Contents

Dirs: 0 × Files: 43

Name Size Perms Modified Actions
1.30 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
686 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
983 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.00 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
252 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
256 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
3.23 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
453 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
262 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.07 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
935 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
737 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
324 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
290 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.38 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.28 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
369 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
601 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
673 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
312 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
601 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
287 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
208 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
176 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
274 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.04 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
182 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.96 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
552 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
180 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
527 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
575 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
512 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
170 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.24 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.47 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.03 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
253 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
921 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
1.74 KB lrw-r--r-- 2023-07-26 13:47:46
Edit Download
172 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download
201 B lrw-r--r-- 2023-07-26 13:47:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).