src/IObject.php
function getImplementations ($instance){

		$rc = new ReflectionClass(get_class($instance));
		$interfaces = $rc->getInterfaces();
		$i = array();
		foreach($interfaces as $name => $crap){
			$i[]=$name;
		}
		return $i;
	}
function getImplementations ($instance){

		$rc = new ReflectionClass(get_class($instance));
		$interfaces = $rc->getInterfaces();
		$i = array();
		foreach($interfaces as $name => $crap){
			$i[]=$name;
		}
		return $i;
	}
function getImplementations ( $ instance ) { $ rc = new ReflectionClass ( get_class ( $ instance ) ) ; $ interfaces = $ rc -> getInterfaces ( ) ; $ i = array ( ) ; foreach ( $ interfaces as $ name => $ crap ) { $ i [ ] = $ name ; } return $ i ; }
Get all the parents classes
@see IMCoreObject
@return array
Get all the parents classes