- replaced some outdated information

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31523 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Uwe Steinmann 2000-08-30 06:46:35 +00:00
parent eed46693d6
commit 78b823dce5
2 changed files with 20 additions and 7 deletions

View file

@ -45,7 +45,8 @@
</simpara>
</note>
<simpara>
One big advantage of ClibPDF over pdflib is the possibility to create
One big advantage of ClibPDF over pdflib used to be the possibility
to create
the pdf document completely in memory without using temporary files.
It also provides the ability to pass coordinates in a predefined
unit length. This is a handy feature but can be simulated with
@ -54,7 +55,7 @@
<simpara>
Most of the functions are fairly easy to use. The most difficult part
is probably creating a very simple PDF document at all. The following
example should help you get started. It creates a document
example should help you to get started. It creates a document
with one page. The page contains the text "Times-Roman" in an
outlined 30pt font. The text is underlined.
</simpara>

View file

@ -1693,17 +1693,29 @@ RewriteEngine on
<funcprototype>
<funcdef>array <function>hw_objrec2array</function></funcdef>
<paramdef>string <parameter>object_record</parameter></paramdef>
<paramdef>array
<parameter>
<optional>format</optional>
</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
<para>
Converts an <parameter>object_record</parameter> into an object array.
The keys of the resulting array are the attributes names.
Multiple attributes like 'Title' in different languages form its own
Multi-value attributes like 'Title' in different languages form its own
array. The keys of this array are the left part to the colon of the
attribute value. Currently only the attributes 'Title', 'Description'
and 'Keyword' are treated properly. Other multiple attributes form
an index array. Currently only the attribute 'Group' is handled
properly.</para>
attribute value. This left part must be two characters long.
Other multi-value attributes without a prefix form an indexed array.
If the optional parameter is missing the
attributes 'Title', 'Description'
and 'Keyword' are treated as language attributes and the attributes
'Group', 'Parent' and 'HtmlAttr' as non-prefixed multi-value attributes.
By passing an array holding the type for each attribute you can
alter this behaviour. The array is an associated array with the attribute
name as its key and the value being one of
<literal>HW_ATTR_LANG</literal> or <literal>HW_ATTR_NONE</literal>
</para>
<para>
See also <function>hw_array2objrec</function>.</para>
</refsect1>