src/xPDO/xPDO.php
public function getTableMeta($className) {
        $tableMeta= null;
        if ($className= $this->loadClass($className)) {
            if (isset ($this->map[$className]['tableMeta'])) {
                $tableMeta= $this->map[$className]['tableMeta'];
            }
            if (!$tableMeta && $ancestry= $this->getAncestry($className)) {
                foreach ($ancestry as $ancestor) {
                    if (isset ($this->map[$ancestor]['tableMeta'])) {
                        if ($tableMeta= $this->map[$ancestor]['tableMeta']) {
                            break;
                        }
                    }
                }
            }
        }
        return $tableMeta;
    }
public function getTableMeta($className) {
        $tableMeta= null;
        if ($className= $this->loadClass($className)) {
            if (isset ($this->map[$className]['tableMeta'])) {
                $tableMeta= $this->map[$className]['tableMeta'];
            }
            if (!$tableMeta && $ancestry= $this->getAncestry($className)) {
                foreach ($ancestry as $ancestor) {
                    if (isset ($this->map[$ancestor]['tableMeta'])) {
                        if ($tableMeta= $this->map[$ancestor]['tableMeta']) {
                            break;
                        }
                    }
                }
            }
        }
        return $tableMeta;
    }
public function getTableMeta ( $ className ) { $ tableMeta = null ; if ( $ className = $ this -> loadClass ( $ className ) ) { if ( isset ( $ this -> map [ $ className ] [ 'tableMeta' ] ) ) { $ tableMeta = $ this -> map [ $ className ] [ 'tableMeta' ] ; } if ( ! $ tableMeta && $ ancestry = $ this -> getAncestry ( $ className ) ) { foreach ( $ ancestry as $ ancestor ) { if ( isset ( $ this -> map [ $ ancestor ] [ 'tableMeta' ] ) ) { if ( $ tableMeta = $ this -> map [ $ ancestor ] [ 'tableMeta' ] ) { break ; } } } } } return $ tableMeta ; }
Gets the actual run-time table metadata from a specified class name.

@param string $className The name of the class to lookup a table name
for.
@return string The table meta data for the class, or null if
unsuccessful.
Gets the actual run - time table metadata from a specified class name .