编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SplSubject
  • SplSubject::detach »
  • PHP Manual
  • SplSubject
  • Attach an SplObserver

SplSubject::attach

(PHP 5 >= 5.1.0, PHP 7)

SplSubject::attach — Attach an SplObserver

说明

abstract public SplSubject::attach ( SplObserver $observer ) : void

Attaches an SplObserver so that it can be notified of updates.

Warning

本函数还未编写文档,仅有参数列表。

参数

observer

The SplObserver to attach.

返回值

没有返回值。

相关文章
php 各种类及接口 the splobserver interfacephp 各种类及接口 the splsubject interfacephp filesystemiterator get the handling flagsphp 安装/配置 需求php finfo 别名 finfo buffer php bbcode 函数 attach another parser in order to use another rule set for argument parsingphp semaphore 函数 create or attach to a message queuephp statistic 函数 probability density function of the uniform distributionphp statistic 函数 generates a random deviate from the non central chi square distributionphp statistic 函数 returns the t value of the dependent t test for paired samplesphp stream 函数 attach a filter to a streamphp stream 函数 attach a filter to a streamphp 安装/配置 安装php 概念 cache integrationphp splobserver receive update from subjectphp splsubject attach an splobserverphp splsubject detach an observerphp splsubject notify an observerphp yaf view simple 渲染一个视图模板 并直接输出给请求端php callbacks emit callbacks
关注编程学问公众号
编程学问网 湘ICP备20001732号