getId() public method

public getId ( ) : integer
return integer
Exemplo n.º 1
0
 /**
  * Deletes object from database
  *
  * @return void
  */
 public function delete()
 {
     $this->db->delete("custom_layouts", $this->db->quoteInto("id = ?", $this->model->getId()));
     @unlink(PIMCORE_CUSTOMLAYOUT_DIRECTORY . "/custom_definition_" . $this->model->getId() . ".psf");
 }