Prado\Data\ActiveRecord\Relations\TActiveRecordHasManyAssociation::getForeignTable PHP 메소드

getForeignTable() 보호된 메소드

protected getForeignTable ( ) : TDbTableInfo
리턴 TDbTableInfo foreign table information.
    protected function getForeignTable()
    {
        if ($this->_foreignTable === null) {
            $gateway = $this->getSourceRecord()->getRecordGateway();
            $fkObject = $this->getContext()->getForeignRecordFinder();
            $this->_foreignTable = $gateway->getRecordTableInfo($fkObject);
        }
        return $this->_foreignTable;
    }