private function getRelTableModel(array $callArgs) {
        if (isset($callArgs['model']) && is_object($callArgs['model'])) {
            return $callArgs['model'];
        }
        else if (isset($callArgs['model']) && is_array($callArgs['model']) && isset($callArgs['model']['rowModel'])) {
            return $callArgs['model']['rowModel'];
        }

        return new Row();
    }
private function getRelTableModel(array $callArgs) {
        if (isset($callArgs['model']) && is_object($callArgs['model'])) {
            return $callArgs['model'];
        }
        else if (isset($callArgs['model']) && is_array($callArgs['model']) && isset($callArgs['model']['rowModel'])) {
            return $callArgs['model']['rowModel'];
        }

        return new Row();
    }
private function getRelTableModel ( array $ callArgs ) { if ( isset ( $ callArgs [ 'model' ] ) && is_object ( $ callArgs [ 'model' ] ) ) { return $ callArgs [ 'model' ] ; } else if ( isset ( $ callArgs [ 'model' ] ) && is_array ( $ callArgs [ 'model' ] ) && isset ( $ callArgs [ 'model' ] [ 'rowModel' ] ) ) { return $ callArgs [ 'model' ] [ 'rowModel' ] ; } return new Row ( ) ; }
Fetches the model to use for the called related table from the call arguments
@param array $callArgs
@return \DBScribe\Row | null
Fetches the model to use for the called related table from the call arguments