src/xPDO/xPDO.php
public function getInherit($className) {
        $inherit= false;
        if ($className= $this->loadClass($className)) {
            if (isset ($this->map[$className]['inherit'])) {
                $inherit= $this->map[$className]['inherit'];
            }
            if (!$inherit && $ancestry= $this->getAncestry($className, false)) {
                foreach ($ancestry as $ancestor) {
                    if (isset ($this->map[$ancestor]['inherit'])) {
                        $inherit= $this->map[$ancestor]['inherit'];
                        break;
                    }
                }
            }
        }
        if (!empty($inherit)) {
            if ($this->getDebug() === true) {
                $this->log(xPDO::LOG_LEVEL_DEBUG, 'Returning inherit: ' . $inherit . ' for class: ' . $className);
            }
        } else {
            $inherit= 'none';
        }
        return $inherit;
    }
public function getInherit($className) {
        $inherit= false;
        if ($className= $this->loadClass($className)) {
            if (isset ($this->map[$className]['inherit'])) {
                $inherit= $this->map[$className]['inherit'];
            }
            if (!$inherit && $ancestry= $this->getAncestry($className, false)) {
                foreach ($ancestry as $ancestor) {
                    if (isset ($this->map[$ancestor]['inherit'])) {
                        $inherit= $this->map[$ancestor]['inherit'];
                        break;
                    }
                }
            }
        }
        if (!empty($inherit)) {
            if ($this->getDebug() === true) {
                $this->log(xPDO::LOG_LEVEL_DEBUG, 'Returning inherit: ' . $inherit . ' for class: ' . $className);
            }
        } else {
            $inherit= 'none';
        }
        return $inherit;
    }
public function getInherit ( $ className ) { $ inherit = false ; if ( $ className = $ this -> loadClass ( $ className ) ) { if ( isset ( $ this -> map [ $ className ] [ 'inherit' ] ) ) { $ inherit = $ this -> map [ $ className ] [ 'inherit' ] ; } if ( ! $ inherit && $ ancestry = $ this -> getAncestry ( $ className , false ) ) { foreach ( $ ancestry as $ ancestor ) { if ( isset ( $ this -> map [ $ ancestor ] [ 'inherit' ] ) ) { $ inherit = $ this -> map [ $ ancestor ] [ 'inherit' ] ; break ; } } } } if ( ! empty ( $ inherit ) ) { if ( $ this -> getDebug ( ) === true ) { $ this -> log ( xPDO :: LOG_LEVEL_DEBUG , 'Returning inherit: ' . $ inherit . ' for class: ' . $ className ) ; } } else { $ inherit = 'none' ; } return $ inherit ; }
Indicates the inheritance model for the xPDOObject class specified.

@param string $className The class to determine the table inherit type from.
@return string single, multiple, or none
Indicates the inheritance model for the xPDOObject class specified .