plugin/competency/Manager/CompetencyManager.php
public function dissociateCompetencyFromResources(Competency $competency, array $nodes)
    {
        foreach ($nodes as $node) {
            $competency->removeResource($node);
        }
        $this->om->persist($competency);
        $this->om->flush();
    }
public function dissociateCompetencyFromResources(Competency $competency, array $nodes)
    {
        foreach ($nodes as $node) {
            $competency->removeResource($node);
        }
        $this->om->persist($competency);
        $this->om->flush();
    }
public function dissociateCompetencyFromResources ( Competency $ competency , array $ nodes ) { foreach ( $ nodes as $ node ) { $ competency -> removeResource ( $ node ) ; } $ this -> om -> persist ( $ competency ) ; $ this -> om -> flush ( ) ; }
Dissociates a competency from several resource nodes.

@param Competency $competency
@param array      $nodes

@return string
Dissociates a competency from several resource nodes .