Exemplo n.º 1
0
 /**
  * Sets the input associated to this datalist.
  *
  * @param InputInterface $input The input instance
  */
 public function setInput(InputInterface $input)
 {
     //Ensure the datalist and input have ids defined
     $this->id();
     $input->id();
     //Assign the relation to each other
     $this->input = $input;
     $input->setDatalist($this);
 }