Home
last modified time | relevance | path

Searched refs:attach (Results 1 – 23 of 23) sorted by relevance

/PHP-5.6/ext/spl/tests/
H A Dobserver_001.phpt36 function attach(SplObserver $observer)
76 $sub->attach($ob1);
77 $sub->attach($ob1);
78 $sub->attach($ob2);
79 $sub->attach($ob3);
92 $sub->attach($ob3);
98 $sub->SubjectImpl::attach($ob1);
99 $sub->SubjectImpl::attach($ob1);
100 $sub->SubjectImpl::attach($ob2);
101 $sub->SubjectImpl::attach($ob3);
[all …]
H A DSplObjectStorage_attach_invalid_parameter.phpt2 Check that SplObjectStorage::attach generates a warning and returns NULL when bad params are passed
10 var_dump($s->attach(true));
11 var_dump($s->attach(new stdClass, true, true));
15 Warning: SplObjectStorage::attach() expects parameter 1 to be object, boolean given in %s on line %d
18 Warning: SplObjectStorage::attach() expects at most 2 parameters, 3 given in %s on line %d
H A Dobserver_002.phpt73 $this->observers->attach($observer);
114 $sub->attach($ob1);
116 $sub->attach($ob1);
117 $sub->attach($ob2);
118 $sub->attach($ob3);
134 $sub->attach($ob3);
144 $sub->SubjectImpl::attach($ob1);
146 $sub->SubjectImpl::attach($ob1);
147 $sub->SubjectImpl::attach($ob2);
148 $sub->SubjectImpl::attach($ob3);
[all …]
H A DSplObjectStorage_removeAllExcept_basic.phpt13 $foo->attach($a);
14 $foo->attach($b);
17 $bar->attach($b);
18 $bar->attach($c);
H A Dobserver_008.phpt12 $a->attach($o1);
13 $a->attach($o2);
16 $b->attach($o2);
17 $b->attach($o3);
H A Dobserver_009.phpt8 $storageA->attach(new \Foo);
9 $storageA->attach(new \Foo);
H A Dbug49263.phpt12 $s->attach($o1, array('prev' => 2, 'next' => $o2));
13 $s->attach($o2, array('prev' => $o1));
H A Dobserver_006.phpt30 $storage->attach(new TestClass($key), $value);
55 $storage->attach(new TestClass(3), new stdClass);
56 $storage->attach(new TestClass(4), new TestClass(5));
73 $storage->attach($storage->current(), "replaced");
H A Dbug69227.phpt9 $s->attach($s);
H A Dbug69108.phpt12 $b->attach($object);
H A Dbug67582.phpt14 $list->attach(new TestObject());
H A Dobserver_003.phpt20 $storage->attach(new TestClass($value));
H A Dobserver_004.phpt30 $storage->attach(new TestClass($value));
H A Dobserver_005.phpt48 $storage->attach(new TestClass($value[0], $value[1], $value[2]));
/PHP-5.6/Zend/tests/
H A Dns_054.phpt16 function attach(\SplObserver $x) {
26 $bar->attach($foo);
H A Dns_056.phpt17 function attach(SplObserver $x) {
27 $bar->attach($foo);
/PHP-5.6/ext/spl/internal/
H A Dsplobjectstorage.inc109 /** @param $obj new object to attach to storage or object whose
113 function attach($obj, $inf = NULL)
139 /** @param $obj new object to attach to storage or object whose
146 $this->attach($obj, $inf);
H A Dmultipleiterator.inc60 /** @param $iter new Iterator to attach.
83 $this->iterators->attach($iter, $inf);
/PHP-5.6/ext/sysvsem/tests/
H A Dsysv.phpt34 echo "Fail to attach shared memory.\n";
38 echo "Success to attach shared memory : $shm_id.\n";
104 Success to attach shared memory : %s.
/PHP-5.6/ext/spl/
H A Dspl_observer.c44 SPL_METHOD(SplSubject, attach);
69 SPL_ABSTRACT_ME(SplSubject, attach, arginfo_SplSubject_attach)
444 SPL_METHOD(SplObjectStorage, attach) in SPL_METHOD() argument
969 SPL_ME(SplObjectStorage, attach, arginfo_attach, 0)
991 SPL_MA(SplObjectStorage, offsetSet, SplObjectStorage, attach, arginfo_attach, 0)
H A Dspl.php1148 function attach(SplObserver $observer); function
/PHP-5.6/ext/gd/tests/
H A DRochester-Regular.otf.LICENSE.txt181 To apply the Apache License to your work, attach the following
/PHP-5.6/ext/fileinfo/tests/
H A Dmagic3617 # CIT is the proprietary raster format (similar to TIFF) used to attach

Completed in 114 milliseconds