Tip: php is developed in the zend editor. the code prompts a single variable. if it is an object and requires code prompts, you need to add a comment: @ var & nbsp; daoInitdaoInit is the class name *** @ varserviceInit * protected $ service. if it is a function, an object is returned and a code prompt is required. add the note: @ returndao, php is developed in the zend editor and the code prompts
A single variable. if it is an object and requires code prompts, you need to add a comment:
@ Var daoInit
DaoInit is the name of the class.
/*** @ Var serviceInit */protected $ service;
If it is a function, an object is returned. for code prompts, add the following comments:
@ Return daoInit
DaoInit is the name of the class.
/*** Initialize Database Sharding * if there are multiple database links, will call this function to automatically switch the DB link * @ param string $ db * @ return dbInit */public function init_db ($ db = 'default ') {$ this-> dao-> db-> init_db ($ db); return $ this-> dao-> db ;}
-
AndreMiller, 1 floor, yesterday
-
It seems awesome.