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 |
|---|---|---|---|---|---|---|---|---|
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_setdebugtemplate.php | Extend/Package/smarty/sysplugins/smarty_internal_method_setdebugtemplate.php | <?php
/**
* Smarty Method SetDebugTemplate
*
* Smarty::setDebugTemplate() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_SetDebugTemplate
{
/**
* Valid for Smarty and template object
*
* @var int
*/
public $objMap =... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_runtime_tplfunction.php | Extend/Package/smarty/sysplugins/smarty_internal_runtime_tplfunction.php | <?php
/**
* TplFunction Runtime Methods callTemplateFunction
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*
**/
class Smarty_Internal_Runtime_TplFunction
{
/**
* Call template function
*
* @param \Smarty_Internal_Template $tpl template object
* @param s... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_resource_stream.php | Extend/Package/smarty/sysplugins/smarty_internal_resource_stream.php | <?php
/**
* Smarty Internal Plugin Resource Stream
* Implements the streams as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
* @author Rodney Rehm
*/
/**
* Smarty Internal Plugin Resource Stream
* Implements the streams as resource for Smarty t... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compile_setfilter.php | Extend/Package/smarty/sysplugins/smarty_internal_compile_setfilter.php | <?php
/**
* Smarty Internal Plugin Compile Setfilter
* Compiles code for setfilter tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Setfilter Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_Internal_Compile_Setfilter extend... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_block.php | Extend/Package/smarty/sysplugins/smarty_internal_block.php | <?php
/**
* Smarty {block} tag class
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Block
{
/**
* Block name
*
* @var string
*/
public $name = '';
/**
* Hide attribute
*
* @var bool
*/
public $hide = fa... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_assignbyref.php | Extend/Package/smarty/sysplugins/smarty_internal_method_assignbyref.php | <?php
/**
* Smarty Method AssignByRef
*
* Smarty::assignByRef() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_AssignByRef
{
/**
* assigns values to template variables by reference
*
* @param \Smarty_Internal_Data|\Smarty_I... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_templatelexer.php | Extend/Package/smarty/sysplugins/smarty_internal_templatelexer.php | <?php
/*
* This file is part of Smarty.
*
* (c) 2015 Uwe Tews
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Smarty_Internal_Templatelexer
* This is the template file lexer.
* It is generated from the smarty_internal_tem... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | true |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_errorhandler.php | Extend/Package/smarty/sysplugins/smarty_internal_errorhandler.php | <?php
/**
* Smarty error handler
*
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*
* @deprecated
Smarty does no longer use @filemtime()
*/
class Smarty_Internal_ErrorHandler
{
/**
* contains directories outside of SMARTY_DIR that are to be muted by muteExpectedErrors()
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_runtime_codeframe.php | Extend/Package/smarty/sysplugins/smarty_internal_runtime_codeframe.php | <?php
/**
* Smarty Internal Extension
* This file contains the Smarty template extension to create a code frame
*
* @package Smarty
* @subpackage Template
* @author Uwe Tews
*/
/**
* Class Smarty_Internal_Extension_CodeFrame
* Create code frame for compiled and cached templates
*/
class Smarty_Interna... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php | Extend/Package/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php | <?php
/**
* Smarty Internal Plugin Compile Function Plugin
* Compiles code for the execution of function plugin
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function Plugin Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_In... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compile_call.php | Extend/Package/smarty/sysplugins/smarty_internal_compile_call.php | <?php
/**
* Smarty Internal Plugin Compile Function_Call
* Compiles the calls of user defined tags defined by {function}
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function_Call Class
*
* @package Smarty
* @subpackage Compiler
*/
class Sm... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_getstreamvariable.php | Extend/Package/smarty/sysplugins/smarty_internal_method_getstreamvariable.php | <?php
/**
* Smarty Method GetStreamVariable
*
* Smarty::getStreamVariable() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_GetStreamVariable
{
/**
* Valid for all objects
*
* @var int
*/
public $objMap = 7;
/**... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_parsetree_tag.php | Extend/Package/smarty/sysplugins/smarty_internal_parsetree_tag.php | <?php
/**
* Smarty Internal Plugin Templateparser Parse Tree
* These are classes to build parse tree in the template parser
*
* @package Smarty
* @subpackage Compiler
* @author Thue Kristensen
* @author Uwe Tews
*/
/**
* A complete smarty tag.
*
* @package Smarty
* @subpackage Compiler
* @ig... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_compileallconfig.php | Extend/Package/smarty/sysplugins/smarty_internal_method_compileallconfig.php | <?php
/**
* Smarty Method CompileAllConfig
*
* Smarty::compileAllConfig() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_CompileAllConfig extends Smarty_Internal_Method_CompileAllTemplates
{
/**
* Compile all config files
*
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_runtime_getincludepath.php | Extend/Package/smarty/sysplugins/smarty_internal_runtime_getincludepath.php | <?php
/**
* Smarty read include path plugin
*
* @package Smarty
* @subpackage PluginsInternal
* @author Monte Ohrt
*/
/**
* Smarty Internal Read Include Path Class
*
* @package Smarty
* @subpackage PluginsInternal
*/
class Smarty_Internal_Runtime_GetIncludePath
{
/**
* include path cache
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_gettags.php | Extend/Package/smarty/sysplugins/smarty_internal_method_gettags.php | <?php
/**
* Smarty Method GetTags
*
* Smarty::getTags() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_GetTags
{
/**
* Valid for Smarty and template object
*
* @var int
*/
public $objMap = 3;
/**
* Return ... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_registerclass.php | Extend/Package/smarty/sysplugins/smarty_internal_method_registerclass.php | <?php
/**
* Smarty Method RegisterClass
*
* Smarty::registerClass() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_RegisterClass
{
/**
* Valid for Smarty and template object
*
* @var int
*/
public $objMap = 3;
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_runtime_filterhandler.php | Extend/Package/smarty/sysplugins/smarty_internal_runtime_filterhandler.php | <?php
/**
* Smarty Internal Plugin Filter Handler
* Smarty filter handler class
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
/**
* Class for filter processing
*
* @package Smarty
* @subpackage PluginsInternal
*/
class Smarty_Internal_Runtime_FilterHandler
{
/**
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_getglobal.php | Extend/Package/smarty/sysplugins/smarty_internal_method_getglobal.php | <?php
/**
* Smarty Method GetGlobal
*
* Smarty::getGlobal() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_GetGlobal
{
/**
* Valid for all objects
*
* @var int
*/
public $objMap = 7;
/**
* Returns a single... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_parsetree_dq.php | Extend/Package/smarty/sysplugins/smarty_internal_parsetree_dq.php | <?php
/**
* Double quoted string inside a tag.
*
* @package Smarty
* @subpackage Compiler
* @ignore
*/
/**
* Double quoted string inside a tag.
*
* @package Smarty
* @subpackage Compiler
* @ignore
*/
class Smarty_Internal_ParseTree_Dq extends Smarty_Internal_ParseTree
{
/**
* Create parse t... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_runtime_cachemodify.php | Extend/Package/smarty/sysplugins/smarty_internal_runtime_cachemodify.php | <?php
/**
* Inline Runtime Methods render, setSourceByUid, setupSubTemplate
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*
**/
class Smarty_Internal_Runtime_CacheModify
{
/**
* check client side cache
*
* @param \Smarty_Template_Cached $cached
* @param \S... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compile_if.php | Extend/Package/smarty/sysplugins/smarty_internal_compile_if.php | <?php
/**
* Smarty Internal Plugin Compile If
* Compiles the {if} {else} {elseif} {/if} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile If Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_Internal_Compile_If extends Smarty... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_resource_php.php | Extend/Package/smarty/sysplugins/smarty_internal_resource_php.php | <?php
/**
* Smarty Internal Plugin Resource PHP
* Implements the file system as resource for PHP templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
* @author Rodney Rehm
*/
class Smarty_Internal_Resource_Php extends Smarty_Internal_Resource_File
{
/**
* Flag th... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compile_for.php | Extend/Package/smarty/sysplugins/smarty_internal_compile_for.php | <?php
/**
* Smarty Internal Plugin Compile For
* Compiles the {for} {forelse} {/for} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile For Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_Internal_Compile_For extends Smarty_... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_clearallassign.php | Extend/Package/smarty/sysplugins/smarty_internal_method_clearallassign.php | <?php
/**
* Smarty Method ClearAllAssign
*
* Smarty::clearAllAssign() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_ClearAllAssign
{
/**
* Valid for all objects
*
* @var int
*/
public $objMap = 7;
/**
* c... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_parsetree_code.php | Extend/Package/smarty/sysplugins/smarty_internal_parsetree_code.php | <?php
/**
* Smarty Internal Plugin Templateparser Parse Tree
* These are classes to build parse trees in the template parser
*
* @package Smarty
* @subpackage Compiler
* @author Thue Kristensen
* @author Uwe Tews
*/
/**
* Code fragment inside a tag .
*
* @package Smarty
* @subpackage Compiler... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_clearassign.php | Extend/Package/smarty/sysplugins/smarty_internal_method_clearassign.php | <?php
/**
* Smarty Method ClearAssign
*
* Smarty::clearAssign() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_ClearAssign
{
/**
* Valid for all objects
*
* @var int
*/
public $objMap = 7;
/**
* clear the ... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compile_nocache.php | Extend/Package/smarty/sysplugins/smarty_internal_compile_nocache.php | <?php
/**
* Smarty Internal Plugin Compile Nocache
* Compiles the {nocache} {/nocache} tags.
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Nocache Class
*
* @package Smarty
* @subpackage Compiler
*/
class Smarty_Internal_Compile_Nocache exte... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_resource_registered.php | Extend/Package/smarty/sysplugins/smarty_internal_resource_registered.php | <?php
/**
* Smarty Internal Plugin Resource Registered
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
* @author Rodney Rehm
*/
/**
* Smarty Internal Plugin Resource Registered
* Implements the registered resource for Smarty template
*
* @package Smarty
* @subpackage Te... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_clearcache.php | Extend/Package/smarty/sysplugins/smarty_internal_method_clearcache.php | <?php
/**
* Smarty Method ClearCache
*
* Smarty::clearCache() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_ClearCache
{
/**
* Valid for Smarty object
*
* @var int
*/
public $objMap = 1;
/**
* Empty cache... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_configload.php | Extend/Package/smarty/sysplugins/smarty_internal_method_configload.php | <?php
/**
* Smarty Method ConfigLoad
*
* Smarty::configLoad() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_ConfigLoad
{
/**
* Valid for all objects
*
* @var int
*/
public $objMap = 7;
/**
* load a config... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_compilebase.php | Extend/Package/smarty/sysplugins/smarty_internal_compilebase.php | <?php
/**
* Smarty Internal Plugin CompileBase
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* This class does extend all internal compile plugins
*
* @package Smarty
* @subpackage Compiler
*/
abstract class Smarty_Internal_CompileBase
{
/**
* Array of names of requ... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_assignglobal.php | Extend/Package/smarty/sysplugins/smarty_internal_method_assignglobal.php | <?php
/**
* Smarty Method AssignGlobal
*
* Smarty::assignGlobal() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_AssignGlobal
{
/**
* Valid for all objects
*
* @var int
*/
public $objMap = 7;
/**
* assigns... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_unregistercacheresource.php | Extend/Package/smarty/sysplugins/smarty_internal_method_unregistercacheresource.php | <?php
/**
* Smarty Method UnregisterCacheResource
*
* Smarty::unregisterCacheResource() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_UnregisterCacheResource
{
/**
* Valid for Smarty and template object
*
* @var int
*/... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Extend/Package/smarty/sysplugins/smarty_internal_method_registerdefaultpluginhandler.php | Extend/Package/smarty/sysplugins/smarty_internal_method_registerdefaultpluginhandler.php | <?php
/**
* Smarty Method RegisterDefaultPluginHandler
*
* Smarty::registerDefaultPluginHandler() method
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
class Smarty_Internal_Method_RegisterDefaultPluginHandler
{
/**
* Valid for Smarty and template object
*
* @... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Web/index.php | Web/index.php | <?php
/** PHP300Framework默认入口 version:2.5.3 */
if (substr(PHP_VERSION, 0, 3) < 5.4) die('<meta charset="UTF-8">PHP300:请将PHP版本切换至5.3以上运行!');
/** 引入框架文件 */
require '../Framework/frame.php';
/** @var object 实例化应用 $app */
$app = new Framework\App();
/** 设定默认访问(应用,控制器,方法) */
$app()->get('Visit')->bind(array('Home', 'I... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/frame.php | Framework/frame.php | <?php
namespace Framework;
use Framework\Library\Process\Running;
use Framework\Library\Process\Structure;
use Framework\Library\Process\Visit;
/**
* 系统总线
* Class App
* @author chungui
* @version 2.5.3
* @package Framework
*/
class App
{
/**
* @var Object 扩展实例
*/
static public $extend;
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Config/frame.cfg.php | Framework/Config/frame.cfg.php | <?php
/**
* 系统基础配置
*/
return [
/**
* 日志基础配置
*/
'log' => [
/**
* 是否开启日志记录
*/
'error_switch' => true,
/**
* 记录错误级别(E_ERROR|E_WARNING|E_PARSE)
* 全部错误(E_ALL)
* 致命错误(E_ERROR)
* 运行警告(E_WARNING)
* 语法错误(E_PARSE)
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/LogicExceptions.class.php | Framework/Library/Process/LogicExceptions.class.php | <?php
namespace Framework\Library\Process;
/**
* 异常处理器
* Class LogicExceptions
* @package Framework\Library\Process
*/
use Framework\App;
use Framework\Library\Interfaces\LogicExceptionsInterface as LogicExceptionsInterfaces;
class LogicExceptions implements LogicExceptionsInterfaces
{
/**
* @var array ... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Session.class.php | Framework/Library/Process/Session.class.php | <?php
namespace Framework\Library\Process;
use \Framework\Library\Interfaces\SessionInterface as SessionInterfaces;
/**
* Session操作器
* Class Session
* @package Framework\Library\Process
*/
class Session implements SessionInterfaces
{
/**
* @var string 缓存名称
*/
private $Name = 'PHP300SESSION';
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Db.class.php | Framework/Library/Process/Db.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
/**
* 数据基础模型
* Class Db
* @package Framework\Library\Process
*/
class Db
{
/**
* @var array 数据库连接标识组
*/
private $link = [];
/**
* @var string 操作库对象
*/
private $db = '';
/**
* @var array 数据库驱动映射
*/
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Extend.class.php | Framework/Library/Process/Extend.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
/**
* 系统扩展器
* Class Extend
* @package Framework\Library\Process
*/
class Extend
{
/**
* @var string 包路径
*/
public $PackagePath;
/**
* @var string 类路径
*/
public $ClassPath;
/**
* @var string 已加载的扩展容器
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Running.class.php | Framework/Library/Process/Running.class.php | <?php
namespace Framework\Library\Process;
/**
* 运行监视器
* Class Running
* @package Framework\Library\Process
*/
class Running
{
/**
* 是否系统异常
* @var bool
*/
static public $iserror = false;
/**
* 运行模式
* @var string
*/
static public $runMode = 'cgi';
/**
* 开发模... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Config.class.php | Framework/Library/Process/Config.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
use \Framework\Library\Interfaces\ConfigInterface as ConfigInterfaces;
/**
* 配置处理器
* Class Config
* @package Framework\Library\Process
*/
class Config implements ConfigInterfaces
{
/**
* @var string 配置路径
*/
private $ConfigPath;
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Cache.class.php | Framework/Library/Process/Cache.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
/**
* 缓存器
* Class Cache
* @package Framework\Library\Process
*/
class Cache
{
/**
* @var object 操作对象
*/
private $object;
/**
* @var array 数据库驱动映射
*/
private $CacheType = [
'memcache' => 'Drive\Cache\Memcac... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/View.class.php | Framework/Library/Process/View.class.php | <?php
namespace Framework\Library\Process;
use \Framework\Library\Interfaces\ViewInterface as ViewInterfaces;
/**
* 视图处理器
* Class View
* @package Framework\Library\Process
*/
class View implements ViewInterfaces
{
/**
* @var string 视图编译目录
*/
private $ViewCompile = '';
/**
* @var strin... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Tool.class.php | Framework/Library/Process/Tool.class.php | <?php
namespace Framework\Library\Process;
/**
* 系统辅助器
* Class Tool
* @package Framework\Library\Process
*/
class Tool
{
/**
* HTTP状态码
* @param string $code 状态码
* @return mixed|string
*/
static public function httpcode($code = '200')
{
$http = [
'100' => '100 Co... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Log.class.php | Framework/Library/Process/Log.class.php | <?php
namespace Framework\Library\Process;
use \Framework\Library\Interfaces\LogInterface as LogInterfaces;
/**
* 日志处理器
* Class Log
* @package Framework\Library\Process
*/
class Log implements LogInterfaces
{
/**
* @var string 日志文件后缀
*/
public $extend = '.log';
/**
* 写出动作(划分日期和大小)
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Router.class.php | Framework/Library/Process/Router.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
use Framework\Library\Interfaces\RouterInterface as RouterInterfaces;
/**
* 系统路由
* Class Router
* @package Framework\Library\Process
*/
class Router implements RouterInterfaces
{
/**
* @var string 用户请求地址
*/
static public $requestUrl... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Structure.class.php | Framework/Library/Process/Structure.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
/**
* 系统结构加载器
* Class Structure
* @package Framework\library\_class
*/
class Structure
{
/**
* @var array 应用列表
*/
static public $ProjectList = [];
/**
* @var string 最后读入的文件
*/
static public $endfile = null;
/... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Visit.class.php | Framework/Library/Process/Visit.class.php | <?php
namespace Framework\Library\Process;
use Framework\App;
use Framework\Library\Interfaces\VisitInterface as VisitInterfaces;
/**
* 访问处理器
* Class Visit
* @package Framework\Library\Process
*/
class Visit implements VisitInterfaces
{
/**
* @var array 访问配置参数
*/
static public $param;
/**... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/ReturnHandle.class.php | Framework/Library/Process/ReturnHandle.class.php | <?php
namespace Framework\Library\Process;
/**
* 返回值处理器
* Class ReturnHandle
* @package Framework\Library\Process
*/
class ReturnHandle
{
/**
* 处理返回值输出
* @param string $Obj 反馈的数据信息
*/
public function Output($Obj = '')
{
if(is_object($Obj) || is_array($Obj)){
header('... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Drive/Db/PDO.php | Framework/Library/Process/Drive/Db/PDO.php | <?php
namespace Framework\Library\Process\Drive\Db;
use Framework\App;
use Framework\Library\Interfaces\DbInterface as DbInterfaces;
use Framework\Library\Process\Running;
/**
* PDO Driver
* Class PDO
*/
class Pdo implements DbInterfaces
{
/**
* @var string 数据错误信息
*/
public $dbErrorMsg = 'SQL I... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Drive/Db/Mysqli.php | Framework/Library/Process/Drive/Db/Mysqli.php | <?php
namespace Framework\Library\Process\Drive\Db;
use Framework\App;
use Framework\Library\Interfaces\DbInterface as DbInterfaces;
use Framework\Library\Process\Running;
use Framework\Library\Process\Tool;
/**
* Mysqli Driver
* Class Mysqli
*/
class Mysqli implements DbInterfaces
{
/**
* @var string ... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Drive/Cache/Redis.php | Framework/Library/Process/Drive/Cache/Redis.php | <?php
namespace Framework\Library\Process\Drive\Cache;
use \Framework\Library\Interfaces\CacheInterface as CacheInterfaces;
/**
* Class Redis
* @package Framework\Library\Process\Drive\Cache
*/
class Redis implements CacheInterfaces
{
/**
* 建立连接
* @var null
*/
protected $link = null;
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Drive/Cache/Memcache.php | Framework/Library/Process/Drive/Cache/Memcache.php | <?php
namespace Framework\Library\Process\Drive\Cache;
use \Framework\Library\Interfaces\CacheInterface as CacheInterfaces;
/**
* Class Memcache
* @package Framework\Library\Process\Drive\Cache
*/
class Memcache implements CacheInterfaces
{
/**
* 建立连接
* @var null
*/
protected $link = null;... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Process/Drive/Cache/File.php | Framework/Library/Process/Drive/Cache/File.php | <?php
namespace Framework\Library\Process\Drive\Cache;
use Framework\Library\Process\Running;
/**
* 文件缓存类
* Class File
* @package Framework\Library\Process\Drive\Cache
*/
class File
{
/**
* 缓存目录
* @var string
*/
private $cache_dir = '';
/**
* 构造方法
* File constructor.
* @... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/LogInterface.php | Framework/Library/Interfaces/LogInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 日志接口
* Interface LogInterface
* @package Framework\Library\Interfaces
*/
interface LogInterface
{
/**
* 写出日志
* @param string $LogPath 日志文件路径
* @param string $fileName 日志文件名
* @param string $Log 日志内容
* @return mixed
*/
publi... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/RouterInterface.php | Framework/Library/Interfaces/RouterInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 路由接口
* Interface RouterInterface
* @package Framework\Library\Interfaces
*/
interface RouterInterface
{
/**
* 路由方法
* @return mixed
*/
public function Route();
}
| php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/CacheInterface.php | Framework/Library/Interfaces/CacheInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 缓存接口
* Interface CacheInterface
* @package Framework\Library\Interfaces
*/
interface CacheInterface
{
/**
* 连接缓存服务器
* @param string $ip 服务器IP
* @param string|int $port 服务器端口
* @param array $auth 授权信息
* @return mixed
*/
publ... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/ConfigInterface.php | Framework/Library/Interfaces/ConfigInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 配置处理接口
* Interface ConfigInterface
* @package Framework\Library\Interfaces
*/
interface ConfigInterface
{
/**
* 读取配置
* @param string $keys 获取的键名称
* @return mixed|string|array
*/
public function get($keys);
/**
* 设置数据
*... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/SessionInterface.php | Framework/Library/Interfaces/SessionInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* Session接口
* Interface SessionInterface
* @package Framework\Library\Interfaces
*/
interface SessionInterface
{
/**
* 启动session
* @return mixed
*/
public function start();
/**
* 获取session
* @param string $name 获取的键名称
* @... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/VisitInterface.php | Framework/Library/Interfaces/VisitInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 访问处理接口
* Interface VisitInterface
* @package Framework\Library\Interfaces
*/
interface VisitInterface
{
/**
* 绑定数默认实例
* @param array $param 配置数组
* @return mixed
*/
public function bind($param);
}
| php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/DbInterface.php | Framework/Library/Interfaces/DbInterface.php | <?php
namespace Framework\Library\Interfaces;
use Framework\Library\Process\Db;
/**
* 数据基础模型接口
* Interface DbInterface
* @package Framework\Library\Interfaces
*/
interface DbInterface
{
/**
* 获取错误信息
* @return mixed
*/
public function getError();
/**
* 连接数据库
* @param array $c... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/ViewInterface.php | Framework/Library/Interfaces/ViewInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 视图接口
* Interface ViewInterface
* @package Framework\Library\Interfaces
*/
interface ViewInterface
{
/**
* 初始化视图
* @return mixed
*/
public function init();
/**
* 设定操作文件
* @param string $fileName 文件名称
* @return mixed
... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Interfaces/LogicExceptionsInterface.php | Framework/Library/Interfaces/LogicExceptionsInterface.php | <?php
namespace Framework\Library\Interfaces;
/**
* 异常处理接口
* Interface LogicExceptionsInterface
* @package Framework\Library\Interfaces
*/
interface LogicExceptionsInterface
{
/**
* 挂载异常钩子
*/
public function Mount();
} | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
xcg340122/PHP300Framework2x | https://github.com/xcg340122/PHP300Framework2x/blob/2ba403cd277680a050c457d39db2aef652fb8e8f/Framework/Library/Common/helper.php | Framework/Library/Common/helper.php | <?php
/**
* 自定义dump
* @param string $vars 打印的变量
* @param string $label 追加标签
* @param bool $return 是否直接返回
* @return null|string
*/
function dump($vars, $label = '', $return = false)
{
if (ini_get('html_errors')) {
$content = "<pre>\n";
if (!empty($label)) {
$content .= "<strong>{$l... | php | Apache-2.0 | 2ba403cd277680a050c457d39db2aef652fb8e8f | 2026-01-05T04:52:44.635355Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/ApiResponse.php | src/ApiResponse.php | <?php
namespace Froiden\RestAPI;
use Froiden\RestAPI\Exceptions\ApiException;
class ApiResponse
{
/**
* Response message
*
* @var string
*/
private $message = null;
/**
* Data to send in response
*
* @var array
*/
private $data = null;
/**
* Get res... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/ApiModel.php | src/ApiModel.php | <?php namespace Froiden\RestAPI;
use Carbon\Carbon;
use Closure;
use DateTimeInterface;
use Froiden\RestAPI\Exceptions\RelatedResourceNotFoundException;
use Froiden\RestAPI\Exceptions\ResourceNotFoundException;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/api.php | src/api.php | <?php
return [
/**
* Default number of records to return when no limit is specified
*/
'defaultLimit' => 10,
/**
* Maximum number of records to return in single request. This limit is used
* when user enters large number in limit parameter of the request
*/
'maxLimit' => 1000... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/RequestParser.php | src/RequestParser.php | <?php
namespace Froiden\RestAPI;
use Froiden\RestAPI\Exceptions\Parse\InvalidLimitException;
use Froiden\RestAPI\Exceptions\Parse\InvalidFilterDefinitionException;
use Froiden\RestAPI\Exceptions\Parse\InvalidOrderingDefinitionException;
use Froiden\RestAPI\Exceptions\Parse\MaxLimitException;
use Froiden\RestAPI\Excep... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/ApiController.php | src/ApiController.php | <?php
namespace Froiden\RestAPI;
use Froiden\RestAPI\Exceptions\Parse\NotAllowedToFilterOnThisFieldException;
use Froiden\RestAPI\Exceptions\ResourceNotFoundException;
use Froiden\RestAPI\Tests\Models\DummyUser;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Data... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Routing/ApiUrlGenerator.php | src/Routing/ApiUrlGenerator.php | <?php
namespace Froiden\RestAPI\Routing;
class ApiUrlGenerator extends \Illuminate\Routing\UrlGenerator
{
} | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Routing/ApiResourceRegistrar.php | src/Routing/ApiResourceRegistrar.php | <?php
namespace Froiden\RestAPI\Routing;
use Illuminate\Routing\ResourceRegistrar;
use Illuminate\Support\Str;
class ApiResourceRegistrar extends ResourceRegistrar
{
/**
* The default actions for a resourceful controller.
*
* @var array
*/
protected $resourceDefaults = ['index', 'store', ... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Routing/ApiRouter.php | src/Routing/ApiRouter.php | <?php
namespace Froiden\RestAPI\Routing;
use Closure;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Middleware\ApiMiddleware;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Routing\ResourceRegistrar;
use Illuminate\Routing\Router;
class Api... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/UnauthorizedException.php | src/Exceptions/UnauthorizedException.php | <?php
namespace Froiden\RestAPI\Exceptions;
class UnauthorizedException extends ApiException
{
protected $statusCode = 403;
protected $code = ErrorCodes::UNAUTHORIZED_EXCEPTION;
protected $message = "Not authorized to perform this request";
} | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/UnauthenticationException.php | src/Exceptions/UnauthenticationException.php | <?php
namespace Froiden\RestAPI\Exceptions;
class UnauthenticationException extends ApiException
{
protected $statusCode = 401;
protected $code = ErrorCodes::UNAUTHENTICATION_EXCEPTION;
protected $message = "Not authenticated to perform this request";
}
| php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/ApiException.php | src/Exceptions/ApiException.php | <?php
namespace Froiden\RestAPI\Exceptions;
use Illuminate\Contracts\Support\Jsonable;
class ApiException extends \Exception implements \JsonSerializable, Jsonable
{
/**
* Response status code
*
* @var int
*/
protected $statusCode = 400;
/**
* Error code
*
* @var int
... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/ErrorCodes.php | src/Exceptions/ErrorCodes.php | <?php
namespace Froiden\RestAPI\Exceptions;
class ErrorCodes
{
const REQUEST_PARSE_EXCEPTION = 100;
const UNKNOWN_EXCEPTION = 1;
const UNAUTHENTICATION_EXCEPTION = 401;
const UNAUTHORIZED_EXCEPTION = 403;
const VALIDATION_EXCEPTION = 422;
const RESOURCE_NOT_FOUND_EXCEPTION = 404;
const I... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/ValidationException.php | src/Exceptions/ValidationException.php | <?php
namespace Froiden\RestAPI\Exceptions;
class ValidationException extends ApiException
{
protected $statusCode = 422;
protected $code = ErrorCodes::VALIDATION_EXCEPTION;
protected $message = "Request could not be validated";
/**
* Validation errors
*
* @var array
*/
pri... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/RelatedResourceNotFoundException.php | src/Exceptions/RelatedResourceNotFoundException.php | <?php
namespace Froiden\RestAPI\Exceptions;
class RelatedResourceNotFoundException extends ApiException
{
protected $statusCode = 422;
protected $code = ErrorCodes::VALIDATION_EXCEPTION;
protected $innercode = ErrorCodes::INNER_RELATED_RESOURCE_NOT_EXISTS;
protected $message = "Related resource not... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/ResourceNotFoundException.php | src/Exceptions/ResourceNotFoundException.php | <?php
namespace Froiden\RestAPI\Exceptions;
class ResourceNotFoundException extends ApiException
{
protected $statusCode = 404;
protected $code = ErrorCodes::RESOURCE_NOT_FOUND_EXCEPTION;
protected $message = "Requested resource not found";
} | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/NotAllowedToFilterOnThisFieldException.php | src/Exceptions/Parse/NotAllowedToFilterOnThisFieldException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class NotAllowedToFilterOnThisFieldException extends ApiException
{
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innerError = ErrorCodes::INNER_NOT_AL... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/InvalidOrderingDefinitionException.php | src/Exceptions/Parse/InvalidOrderingDefinitionException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class InvalidOrderingDefinitionException extends ApiException
{
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innerError = ErrorCodes::INNER_ORDERING_... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/UnknownFieldException.php | src/Exceptions/Parse/UnknownFieldException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class UnknownFieldException extends ApiException
{
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innerError = ErrorCodes::INNER_UNKNOWN_FILED_EXCEPTI... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/MaxLimitException.php | src/Exceptions/Parse/MaxLimitException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class MaxLimitException extends ApiException
{
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innerError = ErrorCodes::INNER_MAX_LIMIT;
protected $... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/InvalidLimitException.php | src/Exceptions/Parse/InvalidLimitException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class InvalidLimitException extends ApiException
{
protected $statusCode = 422;
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innercode = ErrorCo... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/InvalidFilterDefinitionException.php | src/Exceptions/Parse/InvalidFilterDefinitionException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class InvalidFilterDefinitionException extends ApiException
{
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innerError = ErrorCodes::INNER_INVALID_FI... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Exceptions/Parse/FilterNotFoundException.php | src/Exceptions/Parse/FilterNotFoundException.php | <?php
namespace Froiden\RestAPI\Exceptions\Parse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\ErrorCodes;
class FilterNotFoundException extends ApiException
{
protected $code = ErrorCodes::REQUEST_PARSE_EXCEPTION;
protected $innerError = ErrorCodes::INNER_FILTER_NOT_FOUND;
... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Facades/ApiRoute.php | src/Facades/ApiRoute.php | <?php
namespace Froiden\RestAPI\Facades;
use Froiden\RestAPI\Routing\ApiRouter;
use Illuminate\Support\Facades\Facade;
class ApiRoute extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return ... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/ExtendedRelations/BelongsToMany.php | src/ExtendedRelations/BelongsToMany.php | <?php
namespace Froiden\RestAPI\ExtendedRelations;
use Illuminate\Database\Eloquent\Relations\BelongsToMany as LaravelBelongsToMany;
class BelongsToMany extends LaravelBelongsToMany
{
public function getRelatedKeyName() {
return $this->relatedKey ?: 'id';
}
}
| php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Middleware/ApiMiddleware.php | src/Middleware/ApiMiddleware.php | <?php
namespace Froiden\RestAPI\Middleware;
use Closure;
use Froiden\RestAPI\ApiResponse;
use Froiden\RestAPI\Exceptions\UnauthorizedException;
use Illuminate\Support\Str;
use Symfony\Component\HttpFoundation\StreamedResponse;
class ApiMiddleware
{
public function handle($request, Closure $next)
{
/... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Providers/ApiServiceProvider.php | src/Providers/ApiServiceProvider.php | <?php
namespace Froiden\RestAPI\Providers;
use Froiden\RestAPI\Handlers\ApiExceptionHandler;
use Froiden\RestAPI\Routing\ApiResourceRegistrar;
use Froiden\RestAPI\Routing\ApiRouter;
use Illuminate\Container\Container;
use Illuminate\Events\Dispatcher;
use Illuminate\Routing\RouteCollection;
use Illuminate\Routing\Rou... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/src/Handlers/ApiExceptionHandler.php | src/Handlers/ApiExceptionHandler.php | <?php
namespace Froiden\RestAPI\Handlers;
use App\Exceptions\Handler;
use Froiden\RestAPI\ApiResponse;
use Froiden\RestAPI\Exceptions\ApiException;
use Froiden\RestAPI\Exceptions\Parse\UnknownFieldException;
use Froiden\RestAPI\Exceptions\UnauthenticatedException;
use Froiden\RestAPI\Exceptions\UnauthenticationExcept... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/tests/DummyUserTest.php | tests/DummyUserTest.php | <?php
use Froiden\RestAPI\Tests\TestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Routing\Router;
class DummyUserTest extends TestCase
{
/**
* Test User Index Page.
*... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/tests/PaginationTest.php | tests/PaginationTest.php |
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Froiden\RestAPI\Tests\TestCase;
class PaginationTest extends TestCase
{
/**
* Test User Index Page.
*
* @return void
**... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/tests/TestCase.php | tests/TestCase.php | <?php
namespace Froiden\RestAPI\Tests;
use Froiden\RestAPI\Facades\ApiRoute;
use Froiden\RestAPI\Routing\ApiRouter;
use Froiden\RestAPI\Tests\Controllers\CommentController;
use Froiden\RestAPI\Tests\Controllers\PostController;
use Froiden\RestAPI\Tests\Controllers\UserController;
use Froiden\RestAPI\Tests\Models\Dumm... | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/tests/Controllers/PostController.php | tests/Controllers/PostController.php | <?php
namespace Froiden\RestAPI\Tests\Controllers;
use Froiden\RestAPI\ApiController;
use Froiden\RestAPI\Tests\Models\DummyPost;
class PostController extends ApiController
{
protected $model = DummyPost::class;
} | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/tests/Controllers/CommentController.php | tests/Controllers/CommentController.php | <?php
namespace Froiden\RestAPI\Tests\Controllers;
use Froiden\RestAPI\ApiController;
use Froiden\RestAPI\Tests\Models\DummyComment;
class CommentController extends ApiController
{
protected $model = DummyComment::class;
} | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Froiden/laravel-rest-api | https://github.com/Froiden/laravel-rest-api/blob/45e05076f8fc7918d70631369b02ed7168a6cb5d/tests/Controllers/UserController.php | tests/Controllers/UserController.php | <?php
namespace Froiden\RestAPI\Tests\Controllers;
use Froiden\RestAPI\ApiController;
use Froiden\RestAPI\Tests\Models\DummyUser;
class UserController extends ApiController
{
protected $model = DummyUser::class;
} | php | MIT | 45e05076f8fc7918d70631369b02ed7168a6cb5d | 2026-01-05T04:52:55.517023Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.