Difference between revisions of "PRINT HTML()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{YLM to do}}
 
{{SELECT INTO OBJECT?}}
 
 
 
==Purpose==
 
==Purpose==
 
Display object as HTML
 
Display object as HTML
Line 11: Line 8:
  
 
==See Also==
 
==See Also==
[[ACLASS()]], [[ADDPROPERTY()]], [[AMEMBERS()]], [[ARRAY()]], [[CLASS]], [[COMPOBJ()]], [[CREATEOBJECT()]], [[DEFINE CLASS]], [[DODEFAULT()]], [[METHOD]], [[NEWOBJECT()]], [[OBJECT()]], [[PRINT_JSON()]], [[PRINT_R()]], [[PRINT_XML()]], [[REMOVEPROPERTY()]], [[SET CLASSLIBRARY]], [[WITH]]
+
[[ACLASS()]], [[ADDPROPERTY()]], [[AMEMBERS()]], [[CLASS]], [[CLASS - Methods]], [[CLASS - Parameters]], [[CLASS - Properties]], [[CLASS - Scoping]], [[COMPOBJ()]], [[CREATEOBJECT()]], [[DEFINE CLASS]], [[DISPLAY CLASSES]], [[DODEFAULT()]], [[FOREACH]], [[LIST CLASSES]], [[LOADOBJECT()]], [[METHOD]], [[NEWOBJECT()]], [[OBJECT()]], [[PRINT_JSON()]], [[PRINT_R()]], [[PRINT_XML()]], [[REMOVEPROPERTY()]], [[REQUIRE_ONCE()]], [[SAVEOBJECT()]], [[SQL SELECT]], [[WITH]]
  
  
Line 24: Line 21:
 
print_html(shipobj)
 
print_html(shipobj)
 
</code>
 
</code>
 +
 
<pre>
 
<pre>
 
<table>
 
<table>
Line 37: Line 35:
 
</table>
 
</table>
 
</pre>
 
</pre>
<code lang="recital">
 
  
  
Line 45: Line 42:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Objects]]
 
[[Category:Objects]]
[[Category:Objects Functions]]</code>
+
[[Category:Objects Functions]]

Latest revision as of 15:09, 14 December 2009

Purpose

Display object as HTML


Syntax

PRINT_HTML(<object-ref>)


See Also

ACLASS(), ADDPROPERTY(), AMEMBERS(), CLASS, CLASS - Methods, CLASS - Parameters, CLASS - Properties, CLASS - Scoping, COMPOBJ(), CREATEOBJECT(), DEFINE CLASS, DISPLAY CLASSES, DODEFAULT(), FOREACH, LIST CLASSES, LOADOBJECT(), METHOD, NEWOBJECT(), OBJECT(), PRINT_JSON(), PRINT_R(), PRINT_XML(), REMOVEPROPERTY(), REQUIRE_ONCE(), SAVEOBJECT(), SQL SELECT, WITH


Description

The PRINT_HTML() function is used to display the specified object, <object-ref>, in HTML.


Example

open database southwind
select * from shippers into object shipobj
print_html(shipobj)
<table>
<tr>
<td>1</td><td>Speedy Express</td><td>(503) 555-9831</td>
</tr>
<tr>
<td>2</td><td>United Package</td><td>(503) 555-3199</td>
</tr>
<tr>
<td>3</td><td>Federal Shipping</td><td>(503) 555-9931</td>
</tr>
</table>


Products

Recital, Recital Server