update page now

Класс Yaf_View_Simple

(Yaf >=1.0.0)

Введение

Yaf_View_Simple - это встроенный шаблонный движок Yaf. Он простой, но быстрый и поддерживает только шаблоны PHP-скриптов.

Обзор класса

class Yaf_View_Simple implements Yaf_View_Interface {
/* Свойства */
protected $_tpl_vars;
protected $_tpl_dir;
/* Методы */
final public __construct(string $template_dir, array $options = ?)
public assign(string $name, mixed $value = ?): bool
public assignRef(string $name, mixed &$value): bool
public clear(string $name = ?): bool
public display(string $tpl, array $tpl_vars = ?): bool
public eval(string $tpl_content, array $tpl_vars = ?): string
public __get(string $name = ?): void
public __isset(string $name): void
public render(string $tpl, array $tpl_vars = ?): string
public __set(string $name, mixed $value): void
public setScriptPath(string $template_dir): bool
}

Свойства

_tpl_vars

_tpl_dir

Содержание

Добавить

Примечания пользователей

Пользователи ещё не добавляли примечания для страницы
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant