Lines:
1 to 37 of 37
<?php // (C) Copyright Bobbing Wide 2016,2017 if ( PHP_SAPI !== "cli" ) { die( "norty" ); } /** * Go through all the parsed_source * and set _oik_md5_hash for any file, class or function that's missing it * * This may or may not be faster than doing it the other way. * It may also give us a better way of processing in the first place * At least it seems a good idea to do it the OO way. * Though still not enough autoloading? * And perhaps not enough classes for logic separation. * */ set_md5_hash_loaded(); /* function set_md5_hash_loaded() – set _oik_md5_hash */ /* class md5_hasher */ /* function md5_hasher::__construct() – All the sources: files, classes and APIs ( functions & methods ) */ /* function md5_hasher::process() – */ /* function md5_hasher::load_parsed_source() – */ /* function md5_hasher::load_files_classes_apis() – */ /* function md5_hasher::load_components() – */ /* function md5_hasher::key_posts() – */ /* function md5_hasher::build_hash() – Set the MD5 hash for the given file, API or class */ /* function md5_hasher::hash_oik_file() – Rebuild the MD5 hash for a file */ /* function md5_hasher::hash_oik_api() – Rebuild the MD5 hash for an API */ /* function md5_hasher::set_global_plugin_post() – Set the global plugin_post */ /* function md5_hasher::get_component_id() – */ /* function md5_hasher::get_component_slug() – Find the component slug */ /* function md5_hasher::get_component_type() – Returns the component type */View on GitHub