【发布时间】:2012-03-23 08:00:15
【问题描述】:
我正在查看 /administrator/components/com_contact/views/contacts/view.html.php 的第 34 行,其中写着 $this->items = $this->get('Items'); 我不明白这实际上是如何在网上调用 protected function getListQuery() 123 /administrator/components/com_contact/models/contacts.php
还有其他一些我不明白的工作方式......比如
$this->pagination = $this->get('Pagination');
$this->state = $this->get('State');
这些叫什么?我查看了“get()”的文档,但它没有说明这些实际调用的是什么,因为我没有看到任何名为 getPagination、getState 或 getItems 的方法......似乎 get('Items') 不知何故神奇地调用 getListQuery()。
【问题讨论】:
标签: php html joomla content-management-system