Pimcore\Model\Object\ClassDefinition\CustomLayout::getId PHP 메소드

getId() 공개 메소드

public getId ( ) : integer
리턴 integer
    public function getId()
    {
        return $this->id;
    }

Usage Example

예제 #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");
 }