lib/MwbExporter/Model/Table.php
public function getAllForeignKeys()
    {
        $columns = array();
        foreach ($this->getColumns() as $column) {
            foreach ($column->getForeignKeys() as $foreignKey) {
                if (array_key_exists($foreignKey->getId(), $columns)) {
                    continue;
                }
                $columns[$foreignKey->getId()] = $foreignKey;
            }
        }

        return $columns;
    }
public function getAllForeignKeys()
    {
        $columns = array();
        foreach ($this->getColumns() as $column) {
            foreach ($column->getForeignKeys() as $foreignKey) {
                if (array_key_exists($foreignKey->getId(), $columns)) {
                    continue;
                }
                $columns[$foreignKey->getId()] = $foreignKey;
            }
        }

        return $columns;
    }
public function getAllForeignKeys ( ) { $ columns = array ( ) ; foreach ( $ this -> getColumns ( ) as $ column ) { foreach ( $ column -> getForeignKeys ( ) as $ foreignKey ) { if ( array_key_exists ( $ foreignKey -> getId ( ) , $ columns ) ) { continue ; } $ columns [ $ foreignKey -> getId ( ) ] = $ foreignKey ; } } return $ columns ; }
Get all foreign keys references.

@return array \MwbExporter\Model\ForeignKey
Get all foreign keys references .