repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Update.php
admin/update/Puc/v4p11/Update.php
<?php if ( !class_exists('Puc_v4p11_Update', false) ): /** * A simple container class for holding information about an available update. * * @author Janis Elsts * @access public */ abstract class Puc_v4p11_Update extends Puc_v4p11_Metadata { public $slug; public $version; public $download_url; publ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/UpdateChecker.php
admin/update/Puc/v4p11/UpdateChecker.php
<?php if ( !class_exists('Puc_v4p11_UpdateChecker', false) ): abstract class Puc_v4p11_UpdateChecker { protected $filterSuffix = ''; protected $updateTransient = ''; protected $translationType = ''; //"plugin" or "theme". /** * Set to TRUE to enable error reporting. Errors are raised using trigger_error(...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Autoloader.php
admin/update/Puc/v4p11/Autoloader.php
<?php if ( !class_exists('Puc_v4p11_Autoloader', false) ): class Puc_v4p11_Autoloader { private $prefix = ''; private $rootDir = ''; private $libraryDir = ''; private $staticMap; public function __construct() { $this->rootDir = dirname(__FILE__) . '/'; $nameParts = explode('_', __CLASS__, 3); $t...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/StateStore.php
admin/update/Puc/v4p11/StateStore.php
<?php if ( !class_exists('Puc_v4p11_StateStore', false) ): class Puc_v4p11_StateStore { /** * @var int Last update check timestamp. */ protected $lastCheck = 0; /** * @var string Version number. */ protected $checkedVersion = ''; /** * @var Puc_v4p11_Update|null Cached update. */ prot...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Utils.php
admin/update/Puc/v4p11/Utils.php
<?php if ( !class_exists('Puc_v4p11_Utils', false) ): class Puc_v4p11_Utils { /** * Get a value from a nested array or object based on a path. * * @param array|object|null $collection Get an entry from this array. * @param array|string $path A list of array keys in hierarchy order, or a string path lik...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Scheduler.php
admin/update/Puc/v4p11/Scheduler.php
<?php if ( !class_exists('Puc_v4p11_Scheduler', false) ): /** * The scheduler decides when and how often to check for updates. * It calls @see Puc_v4p11_UpdateChecker::checkForUpdates() to perform the actual checks. */ class Puc_v4p11_Scheduler { public $checkPeriod = 12; //How often to check for updates (in...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Factory.php
admin/update/Puc/v4p11/Factory.php
<?php if ( !class_exists('Puc_v4p11_Factory', false) ): /** * A factory that builds update checker instances. * * When multiple versions of the same class have been loaded (e.g. PluginUpdateChecker 4.0 * and 4.1), this factory will always use the latest available minor version. Register class * versions by ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Theme/Update.php
admin/update/Puc/v4p11/Theme/Update.php
<?php if ( !class_exists('Puc_v4p11_Theme_Update', false) ): class Puc_v4p11_Theme_Update extends Puc_v4p11_Update { public $details_url = ''; protected static $extraFields = array('details_url'); /** * Transform the metadata into the format used by WordPress core. * Note the inconsistency: WP stores p...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Theme/UpdateChecker.php
admin/update/Puc/v4p11/Theme/UpdateChecker.php
<?php if ( !class_exists('Puc_v4p11_Theme_UpdateChecker', false) ): class Puc_v4p11_Theme_UpdateChecker extends Puc_v4p11_UpdateChecker { protected $filterSuffix = 'theme'; protected $updateTransient = 'update_themes'; protected $translationType = 'theme'; /** * @var string Theme directory name. */ ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Theme/Package.php
admin/update/Puc/v4p11/Theme/Package.php
<?php if ( !class_exists('Puc_v4p11_Theme_Package', false) ): class Puc_v4p11_Theme_Package extends Puc_v4p11_InstalledPackage { /** * @var string Theme directory name. */ protected $stylesheet; /** * @var WP_Theme Theme object. */ protected $theme; public function __construct($stylesheet, $up...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/DebugBar/Extension.php
admin/update/Puc/v4p11/DebugBar/Extension.php
<?php if ( !class_exists('Puc_v4p11_DebugBar_Extension', false) ): class Puc_v4p11_DebugBar_Extension { const RESPONSE_BODY_LENGTH_LIMIT = 4000; /** @var Puc_v4p11_UpdateChecker */ protected $updateChecker; protected $panelClass = 'Puc_v4p11_DebugBar_Panel'; public function __construct($updateChecker, $pa...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/DebugBar/PluginExtension.php
admin/update/Puc/v4p11/DebugBar/PluginExtension.php
<?php if ( !class_exists('Puc_v4p11_DebugBar_PluginExtension', false) ): class Puc_v4p11_DebugBar_PluginExtension extends Puc_v4p11_DebugBar_Extension { /** @var Puc_v4p11_Plugin_UpdateChecker */ protected $updateChecker; public function __construct($updateChecker) { parent::__construct($updateChecker, 'Puc...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/DebugBar/PluginPanel.php
admin/update/Puc/v4p11/DebugBar/PluginPanel.php
<?php if ( !class_exists('Puc_v4p11_DebugBar_PluginPanel', false) ): class Puc_v4p11_DebugBar_PluginPanel extends Puc_v4p11_DebugBar_Panel { /** * @var Puc_v4p11_Plugin_UpdateChecker */ protected $updateChecker; protected function displayConfigHeader() { $this->row('Plugin file', htmlentities($this->...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/DebugBar/Panel.php
admin/update/Puc/v4p11/DebugBar/Panel.php
<?php if ( !class_exists('Puc_v4p11_DebugBar_Panel', false) && class_exists('Debug_Bar_Panel', false) ): class Puc_v4p11_DebugBar_Panel extends Debug_Bar_Panel { /** @var Puc_v4p11_UpdateChecker */ protected $updateChecker; private $responseBox = '<div class="puc-ajax-response" style="display: none;"></div>';...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/DebugBar/ThemePanel.php
admin/update/Puc/v4p11/DebugBar/ThemePanel.php
<?php if ( !class_exists('Puc_v4p11_DebugBar_ThemePanel', false) ): class Puc_v4p11_DebugBar_ThemePanel extends Puc_v4p11_DebugBar_Panel { /** * @var Puc_v4p11_Theme_UpdateChecker */ protected $updateChecker; protected function displayConfigHeader() { $this->row('Theme directory', htmlentities($this-...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Plugin/Ui.php
admin/update/Puc/v4p11/Plugin/Ui.php
<?php if ( !class_exists('Puc_v4p11_Plugin_Ui', false) ): /** * Additional UI elements for plugins. */ class Puc_v4p11_Plugin_Ui { private $updateChecker; private $manualCheckErrorTransient = ''; /** * @param Puc_v4p11_Plugin_UpdateChecker $updateChecker */ public function __construct($updateChecke...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Plugin/Update.php
admin/update/Puc/v4p11/Plugin/Update.php
<?php if ( !class_exists('Puc_v4p11_Plugin_Update', false) ): /** * A simple container class for holding information about an available update. * * @author Janis Elsts * @copyright 2016 * @access public */ class Puc_v4p11_Plugin_Update extends Puc_v4p11_Update { public $id = 0; public $homepage; pu...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Plugin/UpdateChecker.php
admin/update/Puc/v4p11/Plugin/UpdateChecker.php
<?php if ( !class_exists('Puc_v4p11_Plugin_UpdateChecker', false) ): /** * A custom plugin update checker. * * @author Janis Elsts * @copyright 2018 * @access public */ class Puc_v4p11_Plugin_UpdateChecker extends Puc_v4p11_UpdateChecker { protected $updateTransient = 'update_plugins'; protected $tra...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Plugin/Info.php
admin/update/Puc/v4p11/Plugin/Info.php
<?php if ( !class_exists('Puc_v4p11_Plugin_Info', false) ): /** * A container class for holding and transforming various plugin metadata. * * @author Janis Elsts * @copyright 2016 * @access public */ class Puc_v4p11_Plugin_Info extends Puc_v4p11_Metadata { //Most fields map directly to the contents of ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Plugin/Package.php
admin/update/Puc/v4p11/Plugin/Package.php
<?php if ( !class_exists('Puc_v4p11_Plugin_Package', false) ): class Puc_v4p11_Plugin_Package extends Puc_v4p11_InstalledPackage { /** * @var Puc_v4p11_Plugin_UpdateChecker */ protected $updateChecker; /** * @var string Full path of the main plugin file. */ protected $pluginAbsolutePath = ''; ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/Api.php
admin/update/Puc/v4p11/Vcs/Api.php
<?php if ( !class_exists('Puc_v4p11_Vcs_Api') ): abstract class Puc_v4p11_Vcs_Api { protected $tagNameProperty = 'name'; protected $slug = ''; /** * @var string */ protected $repositoryUrl = ''; /** * @var mixed Authentication details for private repositories. Format depends on service. */ p...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/PluginUpdateChecker.php
admin/update/Puc/v4p11/Vcs/PluginUpdateChecker.php
<?php if ( !class_exists('Puc_v4p11_Vcs_PluginUpdateChecker') ): class Puc_v4p11_Vcs_PluginUpdateChecker extends Puc_v4p11_Plugin_UpdateChecker implements Puc_v4p11_Vcs_BaseChecker { /** * @var string The branch where to look for updates. Defaults to "master". */ protected $branch = 'master'; /** * @v...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/GitHubApi.php
admin/update/Puc/v4p11/Vcs/GitHubApi.php
<?php if ( !class_exists('Puc_v4p11_Vcs_GitHubApi', false) ): class Puc_v4p11_Vcs_GitHubApi extends Puc_v4p11_Vcs_Api { /** * @var string GitHub username. */ protected $userName; /** * @var string GitHub repository name. */ protected $repositoryName; /** * @var string Either a fully qualifi...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/BaseChecker.php
admin/update/Puc/v4p11/Vcs/BaseChecker.php
<?php if ( !interface_exists('Puc_v4p11_Vcs_BaseChecker', false) ): interface Puc_v4p11_Vcs_BaseChecker { /** * Set the repository branch to use for updates. Defaults to 'master'. * * @param string $branch * @return $this */ public function setBranch($branch); /** * Set authentication credent...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/Reference.php
admin/update/Puc/v4p11/Vcs/Reference.php
<?php if ( !class_exists('Puc_v4p11_Vcs_Reference', false) ): /** * This class represents a VCS branch or tag. It's intended as a read only, short-lived container * that only exists to provide a limited degree of type checking. * * @property string $name * @property string|null version * @property string ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/BitBucketApi.php
admin/update/Puc/v4p11/Vcs/BitBucketApi.php
<?php if ( !class_exists('Puc_v4p11_Vcs_BitBucketApi', false) ): class Puc_v4p11_Vcs_BitBucketApi extends Puc_v4p11_Vcs_Api { /** * @var Puc_v4p11_OAuthSignature */ private $oauth = null; /** * @var string */ private $username; /** * @var string */ private $repository; public functi...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/ThemeUpdateChecker.php
admin/update/Puc/v4p11/Vcs/ThemeUpdateChecker.php
<?php if ( !class_exists('Puc_v4p11_Vcs_ThemeUpdateChecker', false) ): class Puc_v4p11_Vcs_ThemeUpdateChecker extends Puc_v4p11_Theme_UpdateChecker implements Puc_v4p11_Vcs_BaseChecker { /** * @var string The branch where to look for updates. Defaults to "master". */ protected $branch = 'master'; /** ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/admin/update/Puc/v4p11/Vcs/GitLabApi.php
admin/update/Puc/v4p11/Vcs/GitLabApi.php
<?php if ( !class_exists('Puc_v4p11_Vcs_GitLabApi', false) ): class Puc_v4p11_Vcs_GitLabApi extends Puc_v4p11_Vcs_Api { /** * @var string GitLab username. */ protected $userName; /** * @var string GitLab server host. */ protected $repositoryHost; /** * @var string Protocol used by this Git...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/home.php
inc/home.php
<link rel="stylesheet" href="<?php echo i_static(); ?>/swiper/swiper-bundle.min.css"> <?php if(get_option("i_swiper")) { $swiper_query = new WP_Query(array( 'post__in' => explode(',',get_option("i_swiper")), 'post__not_in' => get_option('sticky_posts'), 'orderby' => 'post__in', 's...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/page-author.php
inc/page-author.php
<div class="wrapper"> <div class="banner"></div> <div class="content-wrapper"> <div class="text-wrapper"> <h2 class="h2-title"><?php the_author_nickname(); ?></h2> <?php if(get_the_author_description()) { echo '<i>'.get_the_author_description()...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/frame.php
inc/frame.php
<!DOCTYPE html> <html lang="<?php echo get_bloginfo('language'); ?>"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> <meta name="renderer" content...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/random-img.php
inc/random-img.php
<?php $path = '../static/images/login/'; //存有图片的文件夹imgs $handle = opendir($path); while (false !== ($file = readdir($handle))) { list($filesname,$typeOfImg)=explode(".",$file); if( $typeOfImg=="jpg" or $typeOfImg=="jpeg" or $typeOfImg=="png" or ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/article.php
inc/article.php
<link rel="stylesheet" href="<?php echo i_static(); ?>/fancybox/fancybox.css"> <link rel="stylesheet" href="<?php echo i_static(); ?>/highlight/styles/vs2015.min.css"> <div class="container single-top article-top"> <div class="single-banner"> <div class="single-cate"> <div class="single-cate-bo...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/page-tag.php
inc/page-tag.php
<div class="wrapper"> <div class="banner"></div> <div class="content-wrapper"> <div class="text-wrapper"> <h2 class="h2-title"><?php single_cat_title(); ?></h2> </div> </div> </div> <div class="container main-content main"> <div class="content"> <?php if(g...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/home-blog.php
inc/home-blog.php
<div class="home-2"> <div class="home-2-mian"> <ul> <?php $i=0; ?> <?php if(have_posts()) : ?> <?php while(have_posts()) : the_post(); ?> <li> <div class="home-2-pic"> <?php if (is_sticky()) {echo '<span class="p...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/page-template.php
inc/page-template.php
<link rel="stylesheet" href="<?php echo i_static(); ?>/fancybox/fancybox.css"> <link rel="stylesheet" href="<?php echo i_static(); ?>/highlight/styles/vs2015.min.css"> <div class="container single-top page-top"> <div class="page-banner"> <div class="page-title"><h1><?php the_title(); ?></h1></div> ...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/home-card.php
inc/home-card.php
<div class="main-part"> <ul> <?php $i=0; ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <li> <div class="home-pic"> <?php if (is_sticky()) {echo '<span class="post-top">置顶</span>';} ?> <a href="<...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/frame-js.php
inc/frame-js.php
<script src="<?php echo i_static(); ?>/js/jquery.lazyload.js"></script> <script src="<?php echo i_static(); ?>/iconfont/iconfont.js"></script> <script src="<?php echo i_static(); ?>/js/theme.js"></script> <script src="<?php echo i_static(); ?>/js/SmoothScroll.js"></script> <script><?php if(get_option("i_custom_js_foote...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/page-search.php
inc/page-search.php
<div class="wrapper"> <div class="banner"></div> <div class="content-wrapper"> <div class="text-wrapper"> <h2 class="h2-title"><?php the_search_query(); ?></h2> </div> </div> </div> <div class="container main-content main"> <div class="content"> <?php if(g...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/page-archive.php
inc/page-archive.php
<div class="wrapper"> <div class="banner"></div> <div class="content-wrapper"> <div class="text-wrapper"> <h2 class="h2-title"><?php single_cat_title(); ?></h2> </div> </div> </div> <div class="container main-content main"> <div class="content"> <?php if(g...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/article-shuoshuo.php
inc/article-shuoshuo.php
<link rel="stylesheet" href="<?php echo i_static(); ?>/fancybox/fancybox.css"> <link rel="stylesheet" href="<?php echo i_static(); ?>/highlight/styles/vs2015.min.css"> <div class="container single-top article-top say-top"> <div class="single-banner"> <div class="single-title"><h1><?php the_title(); ?></h1>...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/inc/page-date.php
inc/page-date.php
<div class="wrapper"> <div class="banner"></div> <div class="content-wrapper"> <div class="text-wrapper"> <h2 class="h2-title"><?php the_time('Y年m月'); ?></h2> </div> </div> </div> <div class="container main-content main"> <div class="content"> <?php if(get...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/template/forget.php
template/forget.php
<?php /*Template Name: 找回密码*/ ?> <?php i_frame(); ?> <style> body { overflow: hidden; } .progress-wrap, .active-progress { display: none !important; } </style> <body> <?php if(get_option("i_forget_turn") == 1) { if(is_user_logged_in()) { if(current_user...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/template/say.php
template/say.php
<?php /*Template Name: 动态说说*/ ?> <?php i_frame(); ?> <link rel="stylesheet" href="<?php echo i_static(); ?>/fancybox/fancybox.css"> <?php get_header(); ?> <section> <div class="say container-small"> <div class="say-banner"> <img src="<?php if(get_option("i_loading_pic")) {echo get_option("i...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/template/login.php
template/login.php
<?php /*Template Name: 用户登录*/ ?> <?php i_frame(); ?> <style> body { overflow: hidden; } .progress-wrap, .active-progress { display: none !important; } </style> <body> <?php if(is_user_logged_in()) { if(current_user_can('level_10')) { wp_redirect...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/template/register.php
template/register.php
<?php /*Template Name: 用户注册*/ ?> <?php i_frame(); ?> <style> body { overflow: hidden; } .progress-wrap, .active-progress { display: none !important; } </style> <body> <?php if(get_option("i_register_turn") == 1) { if(is_user_logged_in()) { if(current_user_can('...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
kannafay/iFalse
https://github.com/kannafay/iFalse/blob/e434c2131c7faf29aa79a2553cca35e55d56dcca/template/links.php
template/links.php
<?php /*Template Name: 友情链接*/ ?> <?php i_frame(); ?> <?php get_header(); ?> <section> <div class="container single-main page-main page-link"> <div class="left"> <div class="post-content"> <?php the_content(); ?> <?php wp_list_bookmarks('orderby=id&show_descript...
php
MIT
e434c2131c7faf29aa79a2553cca35e55d56dcca
2026-01-05T05:14:50.586486Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/bin/compile.php
bin/compile.php
#!/usr/bin/env php <?php $opts = getopt('i:t:h', array('help', 'debug')); $optlength = 0; // count all flags, and count string values twice (then it wasn't just a flag, so it'll use up two argv entries // must do recursively since args can be repeated array_walk_recursive($opts, function($value) use(&$optlength) { if(...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/examples/HitsByUri2/Mapper.php
examples/HitsByUri2/Mapper.php
<?php require_once('Hadoophp/MapReduce/Mapper.php'); require_once('Hadoophp/MapReduce/Util.php'); class Mapper extends \Hadoophp\MapReduce\Mapper { protected function map($key, $value) { if($log = \Hadoophp\MapReduce\Util::parseApacheLogLine($value)) { $this->emit("LongValueSum:" . $log['request_uri'], 1); }...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/examples/TrafficByUriAndDay/Mapper.php
examples/TrafficByUriAndDay/Mapper.php
<?php require_once('Hadoophp/MapReduce/Mapper.php'); require_once('Hadoophp/MapReduce/Util.php'); class Mapper extends \Hadoophp\MapReduce\Mapper { protected function map($key, $value) { if($log = \Hadoophp\MapReduce\Util::parseApacheLogLine($value)) { $this->emit( // composite key sprintf("LongValueSu...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/examples/TrafficByUri/Mapper.php
examples/TrafficByUri/Mapper.php
<?php require_once('Hadoophp/MapReduce/Mapper.php'); require_once('Hadoophp/MapReduce/Util.php'); class Mapper extends \Hadoophp\MapReduce\Mapper { protected function map($key, $value) { if($log = \Hadoophp\MapReduce\Util::parseApacheLogLine($value)) { $this->emit('LongValueSum:' . $log['request_uri'], $log['l...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/examples/HitsByHour/Mapper.php
examples/HitsByHour/Mapper.php
<?php require_once('Hadoophp/MapReduce/Mapper.php'); require_once('Hadoophp/MapReduce/Util.php'); class Mapper extends \Hadoophp\MapReduce\Mapper { protected function map($key, $value) { if($log = \Hadoophp\MapReduce\Util::parseApacheLogLine($value)) { $this->emit("LongValueSum:" . $log['datetime']->format('H'...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/examples/HitsByUri/Mapper.php
examples/HitsByUri/Mapper.php
<?php require_once('Hadoophp/MapReduce/Mapper.php'); require_once('Hadoophp/MapReduce/Util.php'); class Mapper extends \Hadoophp\MapReduce\Mapper { protected function map($key, $value) { if($log = \Hadoophp\MapReduce\Util::parseApacheLogLine($value)) { $this->emit($log['request_uri'], 1); // diagnostics ...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/examples/HitsByUri/Reducer.php
examples/HitsByUri/Reducer.php
<?php require_once('Hadoophp/MapReduce/Reducer.php'); class Reducer extends \Hadoophp\MapReduce\Reducer { public function reduce($key, Traversable $values) { $sum = 0; foreach($values as $value) { $sum += $value; } $this->emit($key, $sum); } } ?>
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/lib/Hadoophp/_run.php
lib/Hadoophp/_run.php
<?php if($_SERVER['argc'] != 2 || !in_array($mode = strtolower($_SERVER['argv'][1]), array('mapper', 'combiner', 'reducer'))) { echo "Usage: " . $_SERVER['argv'][0] . " MODE\n\nMODE can be 'mapper', 'combiner' or 'reducer'\n\n"; exit(1); } if(!defined('HADOOPHP_DEBUG')) { define('HADOOPHP_DEBUG', false); } $job =...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/lib/Hadoophp/MapReduce/Util.php
lib/Hadoophp/MapReduce/Util.php
<?php namespace Hadoophp\MapReduce; class Util { public static function parseApacheLogLine($line) { if(preg_match('/^(?P<ip>[0-9a-fA-F.:]+)\s(?P<identd>\S+)\s(?P<authuser>\S+)\s\[(?P<timestamp>[^\]]+)\]\s"(?P<request>(?P<request_method>[A-Z]+)\s(?P<request_uri>\S+)\s(?P<request_protocol>\S+))"\s(?P<status>\d+)\s...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/lib/Hadoophp/MapReduce/Base.php
lib/Hadoophp/MapReduce/Base.php
<?php namespace Hadoophp\MapReduce; require_once('Hadoophp/MapReduce/Key.php'); /** * Base class all mappers and reducers can extend from. */ abstract class Base { /** * The input stream handle. */ private $handle; protected $inputFieldSeparator = "\t"; protected $outputFieldSeparator = "\t"; protected ...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/lib/Hadoophp/MapReduce/Mapper.php
lib/Hadoophp/MapReduce/Mapper.php
<?php namespace Hadoophp\MapReduce; require_once('Hadoophp/MapReduce/Base.php'); /** * Base Mapper class. */ abstract class Mapper extends Base { public function __construct() { parent::__construct(); $this->inputFieldSeparator = isset($_SERVER['stream_map_input_field_separator']) ? $_SERVER['stream_map_i...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/lib/Hadoophp/MapReduce/Reducer.php
lib/Hadoophp/MapReduce/Reducer.php
<?php namespace Hadoophp\MapReduce; require_once('Hadoophp/MapReduce/Base.php'); abstract class Reducer extends Base implements \Iterator { protected $previousKey = null; protected $currentKey = null; protected $currentValue = null; /** * Constructor. */ public function __construct() { parent::__constr...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
dzuelke/HadooPHP
https://github.com/dzuelke/HadooPHP/blob/09ba720998748c578ac2cc47b7b53fb011c8579e/lib/Hadoophp/MapReduce/Key.php
lib/Hadoophp/MapReduce/Key.php
<?php namespace Hadoophp\MapReduce; /** * Key class. */ class Key implements \ArrayAccess { protected $parts = array(); protected $separator = "\t"; protected $count = 1; public function __construct(array $parts, $separator = "\t", $count = 1) { $this->parts = $parts; $this->separator = $separator; $th...
php
MIT
09ba720998748c578ac2cc47b7b53fb011c8579e
2026-01-05T05:14:56.295411Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Token.php
src/Token.php
<?php namespace Razr; class Token { protected $type; protected $value; protected $line; /** * Constructor. * * @param int $type * @param string $value * @param int $line */ public function __construct($type, $value, $line) { $this->type = $type; ...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/TokenStream.php
src/TokenStream.php
<?php namespace Razr; use Razr\Exception\SyntaxErrorException; class TokenStream { protected $tokens; protected $current = 0; protected $peek = 0; /** * Constructor. * * @param array $tokens */ public function __construct(array $tokens) { $line = 0; if (!...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Lexer.php
src/Lexer.php
<?php namespace Razr; use Razr\Exception\RuntimeException; use Razr\Exception\SyntaxErrorException; class Lexer { const STATE_DATA = 0; const STATE_OUTPUT = 1; const STATE_DIRECTIVE = 2; const REGEX_CHAR = '/@{2}|@(?=\(|[a-zA-Z_])/s'; const REGEX_START = '/\(|([a-zA-Z_][a-zA-Z0-9...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Parser.php
src/Parser.php
<?php namespace Razr; class Parser { protected $engine; protected $stream; protected $filename; protected $variables; /** * Constructor. * * @param Engine $engine */ public function __construct(Engine $engine) { $this->engine = $engine; } /** * Pa...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Engine.php
src/Engine.php
<?php namespace Razr; use Razr\Directive\Directive; use Razr\Directive\DirectiveInterface; use Razr\Exception\RuntimeException; use Razr\Extension\CoreExtension; use Razr\Extension\ExtensionInterface; use Razr\Loader\LoaderInterface; use Razr\Storage\FileStorage; use Razr\Storage\Storage; use Razr\Storage\StringStora...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Extension/CoreExtension.php
src/Extension/CoreExtension.php
<?php namespace Razr\Extension; use Razr\Directive\BlockDirective; use Razr\Directive\ControlDirective; use Razr\Directive\ExtendDirective; use Razr\Directive\IncludeDirective; use Razr\Directive\RawDirective; use Razr\Directive\SetDirective; use Razr\Engine; use Razr\Exception\InvalidArgumentException; use Razr\Exce...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Extension/ExtensionInterface.php
src/Extension/ExtensionInterface.php
<?php namespace Razr\Extension; use Razr\Engine; interface ExtensionInterface { /** * Gets the name. * * @return string */ public function getName(); /** * Initializes the extension. */ public function initialize(Engine $engine); }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Storage/Storage.php
src/Storage/Storage.php
<?php namespace Razr\Storage; abstract class Storage { protected $template; /** * Constructor. * * @param string $template */ public function __construct($template) { $this->template = $template; } /** * Gets the object string representation. * * @r...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Storage/FileStorage.php
src/Storage/FileStorage.php
<?php namespace Razr\Storage; class FileStorage extends Storage { /** * @{inheritdoc} */ public function getContent() { return file_get_contents($this->template); } }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Storage/StringStorage.php
src/Storage/StringStorage.php
<?php namespace Razr\Storage; class StringStorage extends Storage { /** * @{inheritdoc} */ public function getContent() { return $this->template; } }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Exception/ExceptionInterface.php
src/Exception/ExceptionInterface.php
<?php namespace Razr\Exception; interface ExceptionInterface { }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Exception/SyntaxErrorException.php
src/Exception/SyntaxErrorException.php
<?php namespace Razr\Exception; class SyntaxErrorException extends RuntimeException { }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Exception/RuntimeException.php
src/Exception/RuntimeException.php
<?php namespace Razr\Exception; class RuntimeException extends \RuntimeException implements ExceptionInterface { }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Exception/InvalidArgumentException.php
src/Exception/InvalidArgumentException.php
<?php namespace Razr\Exception; class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { }
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/RawDirective.php
src/Directive/RawDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class RawDirective extends Directive { /** * Constructor. */ public function __construct() { $this->name = 'raw'; } /** * @{inheritdoc} */ public function parse(TokenStream $stream, Token $token...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/Directive.php
src/Directive/Directive.php
<?php namespace Razr\Directive; use Razr\Engine; abstract class Directive implements DirectiveInterface { protected $name; protected $engine; protected $parser; /** * {@inheritdoc} */ public function getName() { return $this->name; } /** * @{inheritdoc} *...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/IncludeDirective.php
src/Directive/IncludeDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class IncludeDirective extends Directive { /** * Constructor. */ public function __construct() { $this->name = 'include'; } /** * @{inheritdoc} */ public function parse(TokenStream $stream, Toke...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/ExtendDirective.php
src/Directive/ExtendDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class ExtendDirective extends Directive { /** * Constructor. */ public function __construct() { $this->name = 'extend'; } /** * @{inheritdoc} */ public function parse(TokenStream $stream, Token ...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/BlockDirective.php
src/Directive/BlockDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class BlockDirective extends Directive { /** * Constructor. */ public function __construct() { $this->name = 'block'; } /** * @{inheritdoc} */ public function parse(TokenStream $stream, Token $t...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/FunctionDirective.php
src/Directive/FunctionDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class FunctionDirective extends Directive { protected $function; protected $escape; /** * Constructor. * * @param string $name * @param callable $function * @param bool $escape */ public functio...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/ControlDirective.php
src/Directive/ControlDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class ControlDirective extends Directive { protected $control; protected $controlEnd; /** * Constructor. */ public function __construct() { $this->name = 'control'; $this->control = array(T_FOR, T_FOR...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/SetDirective.php
src/Directive/SetDirective.php
<?php namespace Razr\Directive; use Razr\Token; use Razr\TokenStream; class SetDirective extends Directive { /** * Constructor. */ public function __construct() { $this->name = 'set'; } /** * @{inheritdoc} */ public function parse(TokenStream $stream, Token $token...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Directive/DirectiveInterface.php
src/Directive/DirectiveInterface.php
<?php namespace Razr\Directive; use Razr\Engine; use Razr\Token; use Razr\TokenStream; interface DirectiveInterface { /** * Gets the name. * * @return string */ public function getName(); /** * Sets the engine. * * @param $engine */ public function setEngine(E...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Loader/FilesystemLoader.php
src/Loader/FilesystemLoader.php
<?php namespace Razr\Loader; use Razr\Exception\RuntimeException; class FilesystemLoader implements LoaderInterface { protected $paths; /** * Constructor. * * @param array $paths */ public function __construct($paths = array()) { $this->paths = (array) $paths; } ...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Loader/LoaderInterface.php
src/Loader/LoaderInterface.php
<?php namespace Razr\Loader; interface LoaderInterface { /** * Gets the source code of a template, given its name. * * @param string $name * @return string */ public function getSource($name); /** * Gets the cache key to use for the cache for a given template name. * ...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Loader/StringLoader.php
src/Loader/StringLoader.php
<?php namespace Razr\Loader; class StringLoader implements LoaderInterface { /** * {@inheritdoc} */ public function getSource($name) { return $name; } /** * {@inheritdoc} */ public function getCacheKey($name) { return $name; } /** * {@inhe...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/src/Loader/ChainLoader.php
src/Loader/ChainLoader.php
<?php namespace Razr\Loader; use Razr\Exception\RuntimeException; class ChainLoader implements LoaderInterface { protected $loaders = array(); /** * Constructor. * * @param LoaderInterface[] $loaders */ public function __construct(array $loaders = array()) { foreach ($loa...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/example/autoload.php
example/autoload.php
<?php spl_autoload_register(function($class) { $class = str_replace('Razr\\', '', $class); $path = realpath(__DIR__.'/../src/').'/'; if (($namespace = strrpos($class = ltrim($class, '\\'), '\\')) !== false) { $path .= strtr(substr($class, 0, ++$namespace), '\\', '/'); } require($path.st...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
pagekit/razr
https://github.com/pagekit/razr/blob/5ba5e580bd71e0907e3966a122ac7b6869bac7f8/example/index.php
example/index.php
<?php require __DIR__.'/autoload.php'; use Razr\Engine; use Razr\Loader\FilesystemLoader; // simple array $array = array(); $array['title'] = 'I am the walrus'; $array['artist'] = array('name' => 'The Beatles', 'homepage' => 'http://www.thebeatles.com'); // simple object $object = new stdClass; $object->title = 'I ...
php
MIT
5ba5e580bd71e0907e3966a122ac7b6869bac7f8
2026-01-05T05:15:04.388201Z
false
JacobBennett/SendyPHP
https://github.com/JacobBennett/SendyPHP/blob/590ae66557d625cf4732b9a3d302a14df2234bb7/bootstrap/autoload.php
bootstrap/autoload.php
<?php /** * An example of a project-specific implementation. * * After registering this autoload function with SPL, the following line * would cause the function to attempt to load the \Foo\Bar\Baz\Qux class * from /path/to/project/src/Baz/Qux.php: * * new \Foo\Bar\Baz\Qux; * * @param string $clas...
php
MIT
590ae66557d625cf4732b9a3d302a14df2234bb7
2026-01-05T05:15:17.755469Z
false
JacobBennett/SendyPHP
https://github.com/JacobBennett/SendyPHP/blob/590ae66557d625cf4732b9a3d302a14df2234bb7/src/SendyPHP.php
src/SendyPHP.php
<?php namespace SendyPHP; /** * Sendy Class */ class SendyPHP { protected $installation_url; protected $api_key; protected $list_id; public function __construct(array $config) { //error checking $list_id = @$config['list_id']; $installation_url = @$config['installation_u...
php
MIT
590ae66557d625cf4732b9a3d302a14df2234bb7
2026-01-05T05:15:17.755469Z
false
JacobBennett/SendyPHP
https://github.com/JacobBennett/SendyPHP/blob/590ae66557d625cf4732b9a3d302a14df2234bb7/src/test/SendyPHPTest.php
src/test/SendyPHPTest.php
<?php use SendyPHP\SendyPHP; /** * @author : Gayan Hewa */ class SendyPHPTest extends PHPUnit_Framework_TestCase { protected $sendy; public function setUp() { $config = [ 'api_key' => 'xxx', //your API key is available in Settings 'installation_url' => 'http://aaa.aaa.com', //Your Sendy installation ...
php
MIT
590ae66557d625cf4732b9a3d302a14df2234bb7
2026-01-05T05:15:17.755469Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php $finder = Symfony\Component\Finder\Finder::create() ->in([ __DIR__ . '/src', __DIR__ . '/tests', ]) ->name('*.php') ->notName('*.blade.php') ->ignoreDotFiles(true) ->ignoreVCS(true); return (new PhpCsFixer\Config()) ->setRules([ '@PSR12' => true, 'arra...
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/lang/en/components.php
lang/en/components.php
<?php return [ 'table-repeater' =>[ 'collapsed' => 'Content collapsed.' ] ];
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/lang/ckb/components.php
lang/ckb/components.php
<?php return [ 'table-repeater' =>[ 'collapsed' => 'ناوەڕۆکەکە داخرا.' ] ];
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/lang/ar/components.php
lang/ar/components.php
<?php return [ 'table-repeater' =>[ 'collapsed' => 'انهار المحتوى.' ] ];
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/src/FilamentTableRepeaterServiceProvider.php
src/FilamentTableRepeaterServiceProvider.php
<?php namespace Icetalker\FilamentTableRepeater; use Filament\Support\Assets\Css; use Filament\Support\Facades\FilamentAsset; use Spatie\LaravelPackageTools\Package; use Spatie\LaravelPackageTools\PackageServiceProvider; class FilamentTableRepeaterServiceProvider extends PackageServiceProvider { public function ...
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/src/Facades/FilamentTableRepeater.php
src/Facades/FilamentTableRepeater.php
<?php namespace Icetalker\FilamentTableRepeater\Facades; use Illuminate\Support\Facades\Facade; /** * @see \Icetalker\FilamentTableRepeater\FilamentTableRepeater */ class FilamentTableRepeater extends Facade { protected static function getFacadeAccessor() { return 'filament-table-repeater'; } }...
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/src/Forms/Components/TableRepeater.php
src/Forms/Components/TableRepeater.php
<?php namespace Icetalker\FilamentTableRepeater\Forms\Components; use Closure; use Filament\Actions\Action; use Filament\Actions\ActionGroup; use Filament\Forms\Components\Repeater; use Filament\Schemas\Components\Component; use Filament\Schemas\Schema; use Illuminate\Contracts\Support\Htmlable; class TableRepeater ...
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false
icetalker/filament-table-repeater
https://github.com/icetalker/filament-table-repeater/blob/f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a/tests/Pest.php
tests/Pest.php
<?php use Icetalker\FilamentTableRepeater\Tests\TestCase; uses(TestCase::class)->in(__DIR__);
php
MIT
f633ecb3f54f3adc93f1e6a90a40dfe8bc03483a
2026-01-05T05:15:40.280096Z
false