PHP 8.2.31
Preview: new-c.yaml Size: 878 B
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Entity/new-c.yaml

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Create a new entity. Simple entities can be constructed by passing a name, value to the constructor; this creates a generic, plain entity reference. For anything more complicated, you have to pass a Source to the constructor with the entity definiton, or use the accessor methods. <tt>WARNING</tt>: There is no validation of entity state except when the entity is read from a stream. If you start poking around with the accessors, you can easily create a non-conformant Entity. The best thing to do is dump the stupid DTDs and use XMLSchema instead."
- !ruby/struct:SM::Flow::VERB 
  body: " e = Entity.new( 'amp', '&amp;' )\n"
full_name: REXML::Entity::new
is_singleton: true
name: new
params: (stream, value=nil, parent=nil, reference=false)
visibility: public

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
2.50 KB lrw-r--r-- 2023-07-26 13:47:44
Edit Download
326 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download
878 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download
354 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download
251 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download
424 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download
702 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download
623 B lrw-r--r-- 2023-07-26 13:47:44
Edit Download

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