Joomla! 模板使用用来以特定方式布置从view获取数据的php文件 在模板中可以 用$this→{propertyname}获取view通过assignref传递的数据。

例子中模板非常简单,以下是代码:

<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<h1><?php echo $this->greeting; ?></h1>

相关文章:

  • 2021-09-14
  • 2021-10-13
  • 2021-10-01
  • 2021-08-07
  • 2021-05-23
  • 2021-09-23
  • 2022-01-16
  • 2021-08-15
猜你喜欢
  • 2021-11-01
  • 2021-09-25
  • 2021-06-04
  • 2022-03-08
  • 2021-07-16
  • 2022-02-06
  • 2021-10-14
相关资源
相似解决方案