Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F408726
index.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
548 B
Subscribers
None
index.php
View Options
<?php
/**
* Wolfplex Kiba One design available accents
*
* Outputs an array of accents:
* name: accent name
* accent: background color
* headingColor: text color
*/
require
(
'KibaOneAccents.php'
);
///
/// Prepares API resources
///
$accents
=
[];
foreach
(
KibaOneAccents
::
getAccents
()
as
$accent
)
{
$accents
[]
=
[
'name'
=>
$accent
[
0
],
'accent'
=>
$accent
[
1
],
'headingColor'
=>
$accent
[
2
]
];
}
///
/// API output
///
header
(
"Content-Type: application/json"
);
echo
json_encode
(
$accents
,
JSON_PRETTY_PRINT
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Jun 10, 10:27 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46671
Default Alt Text
index.php (548 B)
Attached To
rAPI Wolfplex API
Event Timeline
Log In to Comment