Eva\EvaEngine\Mvc\Model::loadRelations PHP 메소드

loadRelations() 공개 메소드

public loadRelations ( )
    public function loadRelations()
    {
        $relations = $this->getDI()->getModuleManager()->getInjectRelations($this);
        if (!$relations) {
            return $this;
        }
        foreach ($relations as $relation) {
            $relationType = $relation['relationType'];
            call_user_func_array(array($this, $relationType), $relation['parameters']);
        }
        return $this;
    }