Prado\Data\ActiveRecord\Relations\TActiveRecordRelationContext::hasAssociationTable PHP Method

hasAssociationTable() public method

public hasAssociationTable ( ) : boolean
return boolean true if the relationship is HAS_MANY and requires an association table.
    public function hasAssociationTable()
    {
        $isManyToMany = $this->getRelationType() === TActiveRecord::MANY_TO_MANY;
        return $isManyToMany && isset($this->_relation[2]) && !empty($this->_relation[2]);
    }