Home > Backend Development > PHP Tutorial > 一个复杂的Services调用,要基类继承,求指点解决方案

一个复杂的Services调用,要基类继承,求指点解决方案

WBOY
Release: 2016-06-13 13:32:59
Original
793 people have browsed it

一个复杂的Services调用,要基类继承,求指点
现在要远程调用一个java的Services应用
这个Services有一个基类BaseUser(user,pwd),所有其它的应用类都要继承这个类
比如我要调用send类时,就要先继承BaseUser,再构造send类,用php能实现吗?

------解决方案--------------------
能~~~~
------解决方案--------------------
上面有个人说 能,我也不能落后哈

能~~~~~

------解决方案--------------------

PHP code


class mysend extends BaseService
{
     public function mysend (user,pwd) {
         parent::BaseUser(user,pwd);
     }
     
     public function send() {
     }
}
<br><font color="#e78608">------解决方案--------------------</font><br>如何实现    围观!!! <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template