You can use Reflection class instead:
<?php
$r = new ReflectionClass($class);
foreach($r->getInterfaces() as $in)
{
$in->getName();
}
![]() |
|
||||||||||
|
class_implementsОписаниеarray class_implements ( mixed class [, bool autoload] )
This function returns an array with the names of the interfaces that the
given Список параметров
Примеры
class_implements
24-Jan-2006 09:51
You can use Reflection class instead:
trollll23 at yahoo dot com
25-Oct-2005 12:57
Luckily, it prints out superinterfaces as well in reverse order so iterative searching works fine:
ludvig dot ericson at gmail dot nospam dot com
01-Aug-2005 12:41
Hint: |