getId() public method

public getId ( ) : integer
return integer
コード例 #1
0
ファイル: Resource.php プロジェクト: rolandstoll/pimcore
 /**
  * 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");
 }