components/Interpreter.php
public function setAllInterpretations($data)
    {
        $model = $this->viaModel;

        $this->_relationsToSave = $this->getAllInterpretations();

        $model::loadMultiple($this->_relationsToSave, $data);

        return $this;
    }
public function setAllInterpretations($data)
    {
        $model = $this->viaModel;

        $this->_relationsToSave = $this->getAllInterpretations();

        $model::loadMultiple($this->_relationsToSave, $data);

        return $this;
    }
public function setAllInterpretations ( $ data ) { $ model = $ this -> viaModel ; $ this -> _relationsToSave = $ this -> getAllInterpretations ( ) ; $ model :: loadMultiple ( $ this -> _relationsToSave , $ data ) ; return $ this ; }
Sets all model relations attributes
@param array $data relations data to be set
Sets all model relations attributes