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]);
    }