Page MenuHomeWolfplex

index.php
No OneTemporary

index.php

<?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

Mime Type
text/x-php
Expires
Thu, Nov 6, 1:05 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
69107
Default Alt Text
index.php (548 B)

Event Timeline