编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SplSubject::attach
  • SplSubject::notify »
  • PHP Manual
  • SplSubject
  • Detach an observer

SplSubject::detach

(PHP 5 >= 5.1.0, PHP 7)

SplSubject::detach — Detach an observer

说明

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

Detaches an observer from the subject to no longer notify it of updates.

Warning

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

参数

observer

The SplObserver to detach.

返回值

没有返回值。

相关文章
php 各种类及接口 the splsubject interfacephp hyperwave api 函数 creates a new instance of class hwapi object newphp firebird/interbase 函数 commit a transactionphp firebird/interbase 函数 execute a maintenance command on the database serverphp firebird/interbase 函数 begin a transactionphp id3 函数 get the name for a genre idphp informix 函数 execute a previously prepared sql statementphp imagick returns certain pixel differences between imagesphp 范例 basic usagephp imagick gets the object compression typephp imagick gets the depth for a particular image channelphp imagick gets the image depthphp 预定义变量 http request 变量php 安装/配置 资源类型php rrdgraph saves the result of query into imagephp 范例 error handlingphp sam 函数 read a message from a queue without removing it from the queuephp splsubject attach an splobserverphp splsubject detach an observerphp splsubject notify an observer
关注编程学问公众号
编程学问网 湘ICP备20001732号