API17

Difference between revisions of "JObservable::attach"

From Joomla! Documentation

m (clean up)
m (preparing for archive only)
 
Line 4: Line 4:
 
Attach an observer object.  
 
Attach an observer object.  
  
{{subst:Description:JObservable::attach}}
+
 
  
 
<source lang="php">
 
<source lang="php">
Line 30: Line 30:
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Base|Base]]
 
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Base|Base]]
 
* [[API17:JObservable::attach|Other versions of JObservable::attach]]
 
* [[API17:JObservable::attach|Other versions of JObservable::attach]]
{{subst:SeeAlso:JObservable::attach}}
+
 
  
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JObservable::attach
 
category=JObservable::attach
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*

Latest revision as of 22:29, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JObservable::attach[edit]

Description[edit]

Attach an observer object.


public function attach ($observer)
Parameter Type Default Description
$observer object An observer object to attach
  • Returns void
  • Defined on line 89 of libraries/joomla/base/observable.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]