Overview

Packages

  • auth
  • basic
  • controller
  • db
  • form
  • html
  • paginate
  • sendmail
  • sql
  • validate

Functions

  • add_action
  • add_filter
  • execute
  • fatal
  • get_action
  • redirect
  • render
  • Overview
  • Package
  • Function
  • Tree

Function add_filter

ビューのフィルタ関数を追加する

render関数の出力に対するフィルタ関数を登録する。

フィルタ関数は、第一引数が出力の文字列、第二引数が$argとなり、 変換結果を返り値とするものである。

フィルタ関数はチェイン処理され、 ビュー評価の際に最初に登録したものから順番に実行される。

Package: controller
Located at system/photon.php
Parameters summary
string $function ビュー出力のフィルタ関数
mixed $arg = NULL フィルタ関数の第二引数
entap_photon API documentation generated by ApiGen 2.8.0