|
| getStandardField ($request, &$entry, $key) |
|
| requireStandardField ($request, $key) |
|
| header ($name) |
|
| readonlyDateField ($metadata, $key, $name) |
|
| readonlyField ($metadata, $key, $name) |
|
| hiddenField ($key, $value) |
|
| flattenLanguageField (&$metadata, $key) |
|
| standardField ($metadata, $key, $name, $textarea=FALSE) |
|
Definition at line 9 of file Registry.php.
◆ checkForm()
sspmod_oauth_Registry::checkForm |
( |
|
$request | ) |
|
◆ flattenLanguageField()
sspmod_oauth_Registry::flattenLanguageField |
( |
& |
$metadata, |
|
|
|
$key |
|
) |
| |
|
protected |
◆ formToMeta()
sspmod_oauth_Registry::formToMeta |
( |
|
$request, |
|
|
|
$entry = array() , |
|
|
|
$override = NULL |
|
) |
| |
◆ getStandardField()
sspmod_oauth_Registry::getStandardField |
( |
|
$request, |
|
|
& |
$entry, |
|
|
|
$key |
|
) |
| |
|
protected |
Definition at line 12 of file Registry.php.
References $key.
Referenced by formToMeta().
13 if (array_key_exists(
'field_' .
$key, $request)) {
14 $entry[
$key] = $request[
'field_' .
$key];
16 if (isset($entry[
$key])) unset($entry[$key]);
◆ header()
sspmod_oauth_Registry::header |
( |
|
$name | ) |
|
|
protected |
Definition at line 51 of file Registry.php.
References $name.
52 return '<tr ><td> </td><td class="header">' .
$name .
'</td></tr>';
◆ hiddenField()
sspmod_oauth_Registry::hiddenField |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
|
protected |
Definition at line 76 of file Registry.php.
References $key.
Referenced by metaToForm().
77 return '<input type="hidden" name="' .
$key .
'" value="' . htmlspecialchars($value) .
'" />';
◆ metaToForm()
sspmod_oauth_Registry::metaToForm |
( |
|
$metadata | ) |
|
Definition at line 109 of file Registry.php.
References $metadata, hiddenField(), readonlyField(), and standardField().
110 return '<form action="registry.edit.php" method="post">' .
111 '<div id="tabdiv">' .
113 '<li><a href="#basic">Name and descrition</a></li>' .
115 '<div id="basic"><table class="formtable">' .
121 $this->
standardField(
$metadata,
'RSAcertificate',
'RSA certificate (PEM)<br/>(Used for RSA_SHA1 signatures)', TRUE) .
127 '<input type="submit" name="submit" value="Save" style="margin-top: 5px" />' .
$metadata['__DYNAMIC:1__']
standardField($metadata, $key, $name, $textarea=FALSE)
hiddenField($key, $value)
readonlyField($metadata, $key, $name)
◆ readonlyDateField()
sspmod_oauth_Registry::readonlyDateField |
( |
|
$metadata, |
|
|
|
$key, |
|
|
|
$name |
|
) |
| |
|
protected |
Definition at line 56 of file Registry.php.
References $key, $metadata, $name, and date.
57 $value =
'<span style="color: #aaa">Not set</a>';
61 <td class="name">' .
$name .
'</td> 62 <td class="data">' . $value .
'</td></tr>';
$metadata['__DYNAMIC:1__']
date( 'd-M-Y', $objPHPExcel->getProperties() ->getCreated())
◆ readonlyField()
sspmod_oauth_Registry::readonlyField |
( |
|
$metadata, |
|
|
|
$key, |
|
|
|
$name |
|
) |
| |
|
protected |
◆ requireStandardField()
sspmod_oauth_Registry::requireStandardField |
( |
|
$request, |
|
|
|
$key |
|
) |
| |
|
protected |
Definition at line 37 of file Registry.php.
References $key.
Referenced by checkForm().
38 if (!array_key_exists(
'field_' .
$key, $request))
39 throw new Exception(
'Required field [' .
$key .
'] was missing.');
40 if (empty($request[
'field_' .
$key]))
41 throw new Exception(
'Required field [' . $key .
'] was empty.');
◆ standardField()
sspmod_oauth_Registry::standardField |
( |
|
$metadata, |
|
|
|
$key, |
|
|
|
$name, |
|
|
|
$textarea = FALSE |
|
) |
| |
|
protected |
Definition at line 92 of file Registry.php.
References $key, $metadata, and $name.
Referenced by metaToForm().
99 return '<tr><td class="name">' .
$name .
'</td><td class="data"> 100 <textarea name="field_' .
$key .
'" rows="5" cols="50">' . $value .
'</textarea></td></tr>';
103 return '<tr><td class="name">' .
$name .
'</td><td class="data"> 104 <input type="text" size="60" name="field_' .
$key .
'" value="' . $value .
'" /></td></tr>';
$metadata['__DYNAMIC:1__']
The documentation for this class was generated from the following file:
- libs/composer/vendor/simplesamlphp/simplesamlphp/modules/oauth/lib/Registry.php