Publicfunction _ construct (oau2$ oAuth, $ root & #039; sandbox & #039;) There is an oau2's class public function _ construct (oau2$ $ oAuth, $ root = 'sandbox ')
There is a class named oau22.
Reply content:
Public function _ construct (oau2$ oAuth, $ root = 'sandbox ')
There is a class named oau22.
Oau2$ oAuth indicates that the first parameter$oAuth
It must be an instance of class oau22)
How can this sdk be written in lower case.
Can you take a good look at the document and ask another question?
Https://github.com/CloudSide/VdiskSDK-PHP/blob/master/Vdisk/Vdisk.php...
/*** Constructor ** @ access public * @ param oau2$ oAuth \ Vdisk \ oau2instance * @ param mixed $ type of root micro-disk container (basic or sandbox ), the default value is sandbox * @ return void */public function _ construct (oau2$ oAuth, $ root = 'sandbox') {$ this-> OAuth = $ oAuth; $ this-> setRoot ($ root );}
Instance:
Http://vauth.appsina.com/Doc/classes/Vdisk.OAuth2.html
Sina micro disk OAuth certification class (oau22.) Vdisk \ oau2authorization mechanism instructions please refer to the document: http://vdisk.weibo.com/developers/index.php? Module = api & action = authinfo