public function getOtherFks()
    {
        $fks = array();
        foreach ($this->getTable()->getForeignKeys() as $fk) {
            if ($fk !== $this) {
                $fks[] = $fk;
            }
        }

        return $fks;
    }
public function getOtherFks()
    {
        $fks = array();
        foreach ($this->getTable()->getForeignKeys() as $fk) {
            if ($fk !== $this) {
                $fks[] = $fk;
            }
        }

        return $fks;
    }
public function getOtherFks ( ) { $ fks = array ( ) ; foreach ( $ this -> getTable ( ) -> getForeignKeys ( ) as $ fk ) { if ( $ fk !== $ this ) { $ fks [ ] = $ fk ; } } return $ fks ; }
Get the other foreign keys starting on the same table
Used in many-to-many relationships

@return ForeignKey
Get the other foreign keys starting on the same table Used in many - to - many relationships