Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 01330ec25d
Fetching contributors…

Cannot retrieve contributors at this time

369 lines (330 sloc) 3.925 kb
__NAME__ purpose
Expand value
__END__
__NAME__ synopsis
<row>
<entry>
name
</entry>
<entry>
Yes
</entry>
<entry>
Yes
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
Name of variable.
</entry>
</row>
<row>
<entry>
values_space
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
yes
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<literal>1</literal>
</entry>
<entry>
Return value on success.
</entry>
</row>
<row>
<entry>
no
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
Return value on failure.
</entry>
</row>
<row>
<entry>
test
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
put_contents
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
enable_html
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
enable_itl
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
file_contents
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
Returns file contents from a upload field.
</entry>
</row>
<row>
<entry>
put_ref
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
outfile
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
File name for output file.
</entry>
</row>
<row>
<entry>
encoding
</entry>
<entry>
</entry>
<entry>
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
Encoding for output file (UTF-8, raw).
</entry>
</row>
&ROW_AUTOCREATEDIR;
&ROW_UMASK_none;
<row>
<entry>
ascii
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
maxsize
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
Maximum size of uploaded file.
</entry>
</row>
<row>
<entry>
joiner
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
'index'
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
elements
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
<row>
<entry>
filter
</entry>
<entry>
<!-- POS -->
</entry>
<entry>
<!-- REQ -->
</entry>
<entry>
<!-- DFL -->
</entry>
<entry>
<!-- DSC -->
</entry>
</row>
&TAG_NON_CONTAINER;
__END__
__NAME__ description
<tag>value-extended</tag> can be used for a number of tasks related to
user input:
<itemizedlist>
<listitem><para>Manipulate files uploaded by the user.</para></listitem>
<listitem><para>Output variables from &glos-value; space.</para></listitem>
<listitem><para>Perform a test.</para></listitem>
</itemizedlist>
__END__
__NAME__ example: Test for uploaded file
<programlisting>
[value-extended name="picture"
test="isfile"
yes="Your picture has been uploaded."
no="Please upload your picture!"
]
</programlisting>
__END__
Jump to Line
Something went wrong with that request. Please try again.