Familiar with jqueryusers, they often use the upload (p;.show().html (9696e.com); how can I skip this method in PHP. Let's talk about the core of the operation: return the current object? PhpclassMysql {publicfunctionwhere ($ str) {# code... return $ this;} publicfunctionordery ($ str) {# code... return $ thi
Those who are familiar with Jquery will often use examples ('p'{.show().html ('9696e. com '). How can I skip this method in PHP. Let's talk about the core of the operation: return the current object? Phpclass Mysql {public function where ($ str) {# code... return $ this;} public function ordery ($ str) {# code... return $ thi
Those familiar with Jquery will often useCertificate ('p'0000.show().html ('9696e. com ');Why can't I use this method in my big PHP. Let's talk about the core of the operation:Returns the current object.
I made a simple chained call to the MYSQL class. The code is very simple. The core of the chained call is the returned return $ this; it is her help to complete the PHP chained operation!
Reprinted please indicate the source: New? Implement PHP chained operations