1

Asked by Eduardo on 2015-11-12

1

Question information

Language:
Spanish Edit question
Status:
Solved
For:
Europio Engine Edit question
Assignee:
No assignee Edit question
Last query:
2015-11-12
Last reply:
2015-11-13

Corrijo. Funciona solo con la primer nota.

Cambie a esto, y funciona ahora con todas:

public function get() {
        $results = CORM($this->compuesto, self::$composername)->read();
        $compositor = self::$composername;
        foreach($results as $field) {
            $c = Pattern::factory(self::$composername, $field['compositor']);
            self::$composername = $compositor;
            $method = "add_" . $compositor;
            $this->compuesto->$method($c);
        }

    }

Eugenia Bahit (eugeniabahit) said : #3

....