ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static Public Member Functions | |
static | arrayize ($data, $index=0) |
Put a non-array variable into an array. More... | |
static | transpose ($array) |
This function transposes a two-dimensional array, so that $a['k1']['k2'] becomes $a['k2']['k1']. More... | |
Definition at line 9 of file Arrays.php.
|
static |
Put a non-array variable into an array.
array | $data | The data to place into an array. |
mixed | $index | The index or key of the array where to place the data. Defaults to 0. |
Definition at line 24 of file Arrays.php.
References $data, $index, and array.
Referenced by SimpleSAML_Metadata_SAMLBuilder\addOrganizationInfo(), SimpleSAML_Utilities\arrayize(), sspmod_statistics_StatDataset\loadData(), SimpleSAML\Utils\Attributes\normalizeAttributesArray(), SimpleSAML_Auth_LDAP\searchfordn(), and sspmod_saml_Auth_Source_SP\startSSO2().
|
static |
This function transposes a two-dimensional array, so that $a['k1']['k2'] becomes $a['k2']['k1'].
array | $array | The two-dimensional array to transpose. |
Definition at line 39 of file Arrays.php.
Referenced by SimpleSAML_Memcache\getStats(), and SimpleSAML_Utilities\transposeArray().