Searched refs:attach (Results 1 – 21 of 21) sorted by relevance
/PHP-5.5/ext/spl/tests/ |
H A D | observer_001.phpt | 36 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 D | SplObjectStorage_attach_invalid_parameter.phpt | 2 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 D | observer_002.phpt | 73 $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 D | SplObjectStorage_removeAllExcept_basic.phpt | 13 $foo->attach($a); 14 $foo->attach($b); 17 $bar->attach($b); 18 $bar->attach($c);
|
H A D | observer_008.phpt | 12 $a->attach($o1); 13 $a->attach($o2); 16 $b->attach($o2); 17 $b->attach($o3);
|
H A D | observer_009.phpt | 8 $storageA->attach(new \Foo); 9 $storageA->attach(new \Foo);
|
H A D | bug49263.phpt | 12 $s->attach($o1, array('prev' => 2, 'next' => $o2)); 13 $s->attach($o2, array('prev' => $o1));
|
H A D | observer_006.phpt | 30 $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 D | bug69227.phpt | 9 $s->attach($s);
|
H A D | bug69108.phpt | 12 $b->attach($object);
|
H A D | observer_003.phpt | 20 $storage->attach(new TestClass($value));
|
H A D | observer_004.phpt | 30 $storage->attach(new TestClass($value));
|
H A D | observer_005.phpt | 48 $storage->attach(new TestClass($value[0], $value[1], $value[2]));
|
/PHP-5.5/Zend/tests/ |
H A D | ns_054.phpt | 16 function attach(\SplObserver $x) { 26 $bar->attach($foo);
|
H A D | ns_056.phpt | 17 function attach(SplObserver $x) { 27 $bar->attach($foo);
|
/PHP-5.5/ext/spl/internal/ |
H A D | splobjectstorage.inc | 109 /** @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 D | multipleiterator.inc | 60 /** @param $iter new Iterator to attach. 83 $this->iterators->attach($iter, $inf);
|
/PHP-5.5/ext/sysvsem/tests/ |
H A D | sysv.phpt | 34 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.5/ext/spl/ |
H A D | spl_observer.c | 43 SPL_METHOD(SplSubject, attach); 68 SPL_ABSTRACT_ME(SplSubject, attach, arginfo_SplSubject_attach) 443 SPL_METHOD(SplObjectStorage, attach) in SPL_METHOD() argument 953 SPL_ME(SplObjectStorage, attach, arginfo_attach, 0) 975 SPL_MA(SplObjectStorage, offsetSet, SplObjectStorage, attach, arginfo_attach, 0)
|
H A D | spl.php | 1148 function attach(SplObserver $observer); function
|
/PHP-5.5/ext/fileinfo/tests/ |
H A D | magic | 3453 # CIT is the proprietary raster format (similar to TIFF) used to attach
|
Completed in 59 milliseconds