Secure coding guidelines/20/zh-tw: Difference between revisions
From Joomla! Documentation
Created page with "===通用及其他資料類型=== If the above methods do not meet your needs, there is a small number of additional filter types which you can use by calling the Retrieving..." |
No edit summary |
||
| Line 1: | Line 1: | ||
===通用及其他資料類型=== | ===通用及其他資料類型=== | ||
如果上述的 methods 您要使用的,還有一些額外的過濾類型,可以直接呼叫 <code>[[Retrieving_request_data_using_JInput#Getting_Values|JInput->get]] </code> method 。語法是: | |||
<source lang="php"> | <source lang="php"> | ||
JFactory::getApplication->input->get( <name>, <default>, <type> ); | JFactory::getApplication->input->get( <name>, <default>, <type> ); | ||
</source> | </source> | ||
其中的: | |||
Latest revision as of 07:37, 14 January 2021
通用及其他資料類型
如果上述的 methods 您要使用的,還有一些額外的過濾類型,可以直接呼叫 JInput->get method 。語法是:
JFactory::getApplication->input->get( <name>, <default>, <type> );
其中的: