编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 流程控制 ifphp 安装/配置 需求php cubrid cubrid mysql 兼容性函数php bbcode 函数 attach another parser in order to use another rule set for argument parsingphp semaphore 函数 create or attach to a message queuephp pdf 函数 concatenate a matrix to the ctmphp pdf 函数 delete pdflib objectphp pdf 函数 fill current pathphp stream 函数 attach a filter to a streamphp stream 函数 attach a filter to a streamphp 从 php 5.2.x 移植到 php 5.3.x 新的流包装器php 从 php 5.3.x 迁移到 php 5.4.x 新的方法php splobserver receive update from subjectphp splsubject attach an splobserverphp splsubject detach an observerphp splsubject notify an observerphp thread 状态检测php threaded 执行
关注编程学问公众号
编程学问网 湘ICP备20001732号