ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
post.php File Reference

Go to the source code of this file.

Functions

 printItem ($name, $value)
 Write out one or more INPUT elements for the given name-value pair. More...
 

Variables

if(array_key_exists('post', $this->data)) else
 
 $post
 

Function Documentation

◆ printItem()

printItem (   $name,
  $value 
)

Write out one or more INPUT elements for the given name-value pair.

If the value is a string, this function will write a single INPUT element. If the value is an array, it will write multiple INPUT elements to recreate the array.

Parameters
string$nameThe name of the element.
string | array$valueThe value of the element.

Definition at line 50 of file post.php.

50 {
51 assert('is_string($name)');
52 assert('is_string($value) || is_array($value)');
53 if (is_string($value)) {
54 echo '<input type="hidden" name="' .
55 htmlspecialchars($name) . '" value="' .
56 htmlspecialchars($value) . '" />';
57 return;
58 }
59 // This is an array...
60 foreach ($value as $index => $item) {
61 printItem($name . '[' . $index . ']', $item);
62 }
63}
64
65foreach ($post as $name => $value) {
66 printItem($name, $value);
67}
if($format !==null) $name
Definition: metadata.php:146
$index
Definition: metadata.php:60
printItem($name, $value)
Write out one or more INPUT elements for the given name-value pair.
Definition: post.php:50
$post
Definition: post.php:34

References $index, $name, and printItem().

Referenced by printItem().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ $post

$post
Initial value:
= array(
'SAMLResponse' => $this->data['response'],
$this->data['RelayStateName'] => $this->data['RelayState'],
)
$this data['403_header']

Definition at line 34 of file post.php.

Referenced by ilObjBlogGUI\approve(), ilChatroomAuthInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), SimpleSAML_Utilities\createHttpPostRedirectLink(), SimpleSAML_Utilities\createPostRedirectLink(), ilObjBlogGUI\deactivateAdmin(), SimpleSAML\Bindings\Shib13\HTTPPost\decodeResponse(), ilBlogPosting\deleteAllBlogPostings(), ilForum\deletePost(), ilFileDataForum\deliverZipFile(), ilFileDataForumDrafts\deliverZipFile(), ilForumExportGUI\exportHTML(), ilADTSearchBridge\extractPostValues(), ilPDNewsTableGUI\fillRow(), ilIndividualAssessmentMemberGUI\finalizeConfirmation(), ilBlogPosting\getAllPostings(), ilOrgUnitPositionGUI\getARIdFromRequest(), ilForum\getOnePost(), ilAssQuestionSkillAssignmentRegistryTest\getTestData(), ilPlainTextHandler\hidePassword(), ilLoggingErrorFileStorage\hidePassword(), ilADTDateSearchBridgeRange\importFromPost(), ilADTDateSearchBridgeSingle\importFromPost(), ilADTDateTimeSearchBridgeRange\importFromPost(), ilADTDateTimeSearchBridgeSingle\importFromPost(), ilADTEnumSearchBridgeMulti\importFromPost(), ilADTEnumSearchBridgeSingle\importFromPost(), ilADTExternalLinkSearchBridgeSingle\importFromPost(), ilADTFloatSearchBridgeSingle\importFromPost(), ilADTIntegerSearchBridgeSingle\importFromPost(), ilADTInternalLinkSearchBridgeSingle\importFromPost(), ilADTLocationSearchBridgeSingle\importFromPost(), ilADTTextSearchBridgeSingle\importFromPost(), ilBookingObjectGUI\initForm(), ilPCBlogGUI\initPostingForm(), ilObjBlogGUI\lookupSubObjectTitle(), ilObjBlogGUI\mayEditPosting(), ilForum\mergeThreads(), ilForumTopic\movePosts(), SimpleSAML_Utilities\postRedirect(), sspmod_adfs_IdP_ADFS\postResponse(), ilForumExportGUI\printPost(), ilForumExportGUI\printThread(), ilPortfolioPageGUI\renderBlog(), ilPortfolioPageGUI\renderBlogTeaser(), ilObjBlogGUI\renderFullscreenHeader(), ilForumExportGUI\renderPostHtml(), ilIndividualAssessmentMemberGUI\save(), ilIndividualAssessmentMemberGUI\saveAmend(), ilTaxAssignInputGUI\saveInput(), ilIndividualAssessmentMemberGUI\saveMember(), SAML2\HTTPPost\send(), ilAssQuestionSkillAssignmentRegistryTest\serializedData(), ilForumTopic\setLastPostForThreadOverview(), ilPlainTextHandler\tables(), and ilLoggingErrorFileStorage\tables().

◆ else

if (array_key_exists( 'post', $this->data)) else
Initial value:
{
assert('array_key_exists("response", $this->data)')

Definition at line 29 of file post.php.