https://github.com/PressForward/pressforward
Revision 137d7df1919fdc7af4ebd7503d74b05e95a57fe8 authored by Boone B Gorges on 19 February 2019, 19:57:55 UTC, committed by Boone B Gorges on 19 February 2019, 19:57:55 UTC
This changeset also includes non-persistent caching for pages fetched externally in order to populate the Nominate This meta boxes. See #1037.
1 parent 503c019
Tip revision: 137d7df1919fdc7af4ebd7503d74b05e95a57fe8 authored by Boone B Gorges on 19 February 2019, 19:57:55 UTC
Use WP's meta box API for Nominate This interface.
Use WP's meta box API for Nominate This interface.
Tip revision: 137d7df
Loader.php
<?php
namespace PressForward;
use SplClassLoader as JaxionClassLoader;
class Loader {
function __construct() {
$this->includes();
$this->namespace_to();
}
function test() {
echo 'This thing';
// var_dump(__METHOD__);
}
function includes() {
// var_dump(__METHOD__);
// var_dump( glob(dirname(__FILE__)."/Libraries/jaxion/src/*/*/*.php"));
// foreach ( glob( dirname(__FILE__)."/Libraries/jaxion/src/*.php") as $filename ){
// var_dump($filename);
// include $filename;
// }
// die();
$classLoader = new JaxionClassLoader( 'Intraxia\Jaxion', dirname( __FILE__ ) . '/Libraries/Jaxion/src' );
$classLoader->filterFinalPath( 'Intraxia' . DIRECTORY_SEPARATOR . 'Jaxion' . DIRECTORY_SEPARATOR, '' );
$classLoader->register();
}
function namespace_to() {
}
}
// new Loader;
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...