Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
ed96bc37
Commit
ed96bc37
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Fix phpdoc comments for SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile.
parent
87a4cd7c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Metadata/MetaDataStorageHandlerFlatFile.php
+6
-5
6 additions, 5 deletions
lib/SimpleSAML/Metadata/MetaDataStorageHandlerFlatFile.php
with
6 additions
and
5 deletions
lib/SimpleSAML/Metadata/MetaDataStorageHandlerFlatFile.php
+
6
−
5
View file @
ed96bc37
...
@@ -30,7 +30,7 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile extends SimpleSAML_Meta
...
@@ -30,7 +30,7 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile extends SimpleSAML_Meta
* - 'directory': The directory we should load metadata from. The default directory is
* - 'directory': The directory we should load metadata from. The default directory is
* set in the 'metadatadir' configuration option in 'config.php'.
* set in the 'metadatadir' configuration option in 'config.php'.
*
*
* @param $config An associtive array with the configuration for this handler.
* @param
array
$config An associ
a
tive array with the configuration for this handler.
*/
*/
protected
function
__construct
(
$config
)
{
protected
function
__construct
(
$config
)
{
assert
(
'is_array($config)'
);
assert
(
'is_array($config)'
);
...
@@ -57,8 +57,9 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile extends SimpleSAML_Meta
...
@@ -57,8 +57,9 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile extends SimpleSAML_Meta
* This function loads the given set of metadata from a file our metadata directory.
* This function loads the given set of metadata from a file our metadata directory.
* This function returns NULL if it is unable to locate the given set in the metadata directory.
* This function returns NULL if it is unable to locate the given set in the metadata directory.
*
*
* @param $set The set of metadata we are loading.
* @param string $set The set of metadata we are loading.
* @return Associative array with the metadata, or NULL if we are unable to load metadata from the given file.
* @return array An associative array with the metadata, or NULL if we are unable to load metadata from the given file.
* @throws Exception If the metadata set cannot be loaded.
*/
*/
private
function
load
(
$set
)
{
private
function
load
(
$set
)
{
...
@@ -84,8 +85,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile extends SimpleSAML_Meta
...
@@ -84,8 +85,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerFlatFile extends SimpleSAML_Meta
* This function retrieves the given set of metadata. It will return an empty array if it is
* This function retrieves the given set of metadata. It will return an empty array if it is
* unable to locate it.
* unable to locate it.
*
*
* @param $set
The set of metadata we are retrieving.
* @param
string
$set The set of metadata we are retrieving.
* @return
A
sssociative array with the metadata. Each element in the array is an entity, and the
* @return
array An a
sssociative array with the metadata. Each element in the array is an entity, and the
* key is the entity id.
* key is the entity id.
*/
*/
public
function
getMetadataSet
(
$set
)
{
public
function
getMetadataSet
(
$set
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment