Prado\Data\ActiveRecord\Relations\TActiveRecordRelationContext::hasFkField PHP 메소드

hasFkField() 공개 메소드

부터: 3.1.2
public hasFkField ( ) : boolean
리턴 boolean true if the 3rd element of an TActiveRecord::$RELATION entry is set.
    public function hasFkField()
    {
        $notManyToMany = $this->getRelationType() !== TActiveRecord::MANY_TO_MANY;
        return $notManyToMany && isset($this->_relation[2]) && !empty($this->_relation[2]);
    }