ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.

References $index, $name, $post, and html().

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 
65 foreach ($post as $name => $value) {
66  printItem($name, $value);
67 }
$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
+ Here is the call 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(), ilDateTimeInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), SimpleSAML_Utilities\createHttpPostRedirectLink(), SimpleSAML_Utilities\createPostRedirectLink(), ilObjBlogGUI\deactivateAdmin(), SimpleSAML\Bindings\Shib13\HTTPPost\decodeResponse(), ilBlogPosting\deleteAllBlogPostings(), ilFileDataForumDrafts\deliverZipFile(), ilFileDataForum\deliverZipFile(), ilMMAbstractItemGUI\determineCommand(), ilForumExportGUI\exportHTML(), ilADTSearchBridge\extractPostValues(), ilPDNewsTableGUI\fillRow(), ilIndividualAssessmentMemberGUI\finalizeConfirmation(), ilBlogPosting\getAllPostings(), ilOrgUnitPositionGUI\getARIdFromRequest(), ilForumTopic\getFirstPostNode(), ilMMAbstractItemGUI\getMMItemFromRequest(), ilForum\getOnePost(), ilForumTopic\getPostTree(), ilLoggingErrorFileStorage\hidePassword(), ilADTTextSearchBridgeSingle\importFromPost(), ilADTDateSearchBridgeSingle\importFromPost(), ilADTEnumSearchBridgeSingle\importFromPost(), ilADTDateTimeSearchBridgeSingle\importFromPost(), ilADTIntegerSearchBridgeSingle\importFromPost(), ilADTFloatSearchBridgeSingle\importFromPost(), ilADTExternalLinkSearchBridgeSingle\importFromPost(), ilADTEnumSearchBridgeMulti\importFromPost(), ilADTLocationSearchBridgeSingle\importFromPost(), ilADTDateSearchBridgeRange\importFromPost(), ilADTDateTimeSearchBridgeRange\importFromPost(), ilBookingObjectGUI\initForm(), ilPCBlogGUI\initPostingForm(), ilObjBlogGUI\lookupSubObjectTitle(), ilObjBlogGUI\mayEditPosting(), ilForum\mergeThreads(), ilForumTopic\movePosts(), SimpleSAML_Utilities\postRedirect(), sspmod_adfs_IdP_ADFS\postResponse(), printItem(), ilForumExportGUI\printPost(), ilForumExportGUI\printThread(), ilLSPlayer\render(), ilPortfolioPageGUI\renderBlog(), ilPortfolioPageGUI\renderBlogTeaser(), ilObjBlogGUI\renderFullscreenHeader(), ilIndividualAssessmentMemberGUI\save(), ilObjLearningSequenceContentGUI\save(), ilIndividualAssessmentMemberGUI\saveAmend(), ilTaxAssignInputGUI\saveInput(), SAML2\HTTPPost\send(), ilAssQuestionSkillAssignmentRegistryTest\serializedData(), ilForumTopic\setLastPostForThreadOverview(), ilPlainTextHandler\tables(), ilLoggingErrorFileStorage\tables(), PasswordInputTest\test_value_type(), Sabre\HTTP\RequestTest\testGetPostData(), and ilObjLearningSequenceSettingsGUI\update().

◆ else

if (array_key_exists( 'post', $this->data)) else
Initial value:
{
assert(array_key_exists('response', $this->data))
$this data['403_header']

Definition at line 29 of file post.php.