Skip to content

pipifuyj/global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to the usage of "global/php/Framework"

for example:
<?
$global=new framework("global","global");
$global->title="[title]";
$global->sql=new mysql("[ip]","[username]","[passwd]","[dbname]","utf8");
$global->sql=new mysql("localhost","root","868686","test","utf8");
$global->mongo=new Mongo("localhost:27017");
$global->mongodb=$global->mongo->selectDB("db");
$global->main();
?>


then, ModelMongoStore will assume that the framework has an attribute: mongodb. MongoStore will use this to finish all kinds of functions specifically designed for MongoStore.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published