ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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.
mixed | $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.
Referenced by SimpleSAML_Metadata_SAMLBuilder\addOrganizationInfo(), SimpleSAML_Utilities\arrayize(), SimpleSAML_Auth_LDAP\escape_filter_value(), 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.
References $ret.
Referenced by SimpleSAML_Memcache\getStats(), and SimpleSAML_Utilities\transposeArray().