Ejemplo n.º 1
0
 protected function populate()
 {
     parent::populate();
     if (!$this->getId() && !is_numeric($this->arguments[0])) {
         $this->setFen($this->arguments[0]);
         $this->commit();
     }
 }
Ejemplo n.º 2
0
 public function populate()
 {
     parent::populate();
     if (!$this->getId()) {
         $this->setMetadataKey($this->arguments[0]);
         $this->commit();
     }
 }
Ejemplo n.º 3
0
 protected function populate()
 {
     parent::populate();
     if (!$this->getId()) {
         $this->setPlayerId($this->arguments[0]);
         $this->setCategory($this->arguments[1]);
         $this->commit();
     }
 }