public function getColumnObjectsMapping()
    {
        $mapping = array();
        $localTable = $this->getTable();
        $foreignTable = $this->getForeignTable();
        for ($i = 0, $size = count($this->localColumns); $i < $size; $i++) {
            $mapping[]= array(
                'local'   => $localTable->getColumn($this->localColumns[$i]),
                'foreign' => $foreignTable->getColumn($this->foreignColumns[$i]),
            );
        }

        return $mapping;
    }
public function getColumnObjectsMapping()
    {
        $mapping = array();
        $localTable = $this->getTable();
        $foreignTable = $this->getForeignTable();
        for ($i = 0, $size = count($this->localColumns); $i < $size; $i++) {
            $mapping[]= array(
                'local'   => $localTable->getColumn($this->localColumns[$i]),
                'foreign' => $foreignTable->getColumn($this->foreignColumns[$i]),
            );
        }

        return $mapping;
    }
public function getColumnObjectsMapping ( ) { $ mapping = array ( ) ; $ localTable = $ this -> getTable ( ) ; $ foreignTable = $ this -> getForeignTable ( ) ; for ( $ i = 0 , $ size = count ( $ this -> localColumns ) ; $ i < $ size ; $ i ++ ) { $ mapping [ ] = array ( 'local' => $ localTable -> getColumn ( $ this -> localColumns [ $ i ] ) , 'foreign' => $ foreignTable -> getColumn ( $ this -> foreignColumns [ $ i ] ) , ) ; } return $ mapping ; }
Utility method to get local and foreign column objects
mapping for this foreign key.
Utility method to get local and foreign column objects mapping for this foreign key .