Home > Backend Development > PHP Tutorial > php调用是啥意思?解决思路

php调用是啥意思?解决思路

WBOY
Release: 2016-06-13 12:25:45
Original
1198 people have browsed it

php调用是啥意思?
在下刚学php,在本人的理解一般调用类里的方式是 
1,$a=new A();
      $a-> AMeth();
2,A::AMeth();


但是现在要求学习下CI架构我看里面的调用方式是
$this->seesion->AMeth();

请问这种调用方式那个session是自定义的吗?  怎么解释这个调用方式,,,,小弟才疏学浅,刚学,求赐教
------解决思路----------------------
-> ->这种连贯的方法 每次都返回一个对象。。  session是一个属性,保存了一个对象。

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