Prado\Data\ActiveRecord\Relations\TActiveRecordRelationContext::hasAssociationTable PHP Метод

hasAssociationTable() публичный Метод

public hasAssociationTable ( ) : boolean
Результат 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]);
    }