Pimcore\Model\Object\ClassDefinition::getId PHP Method

getId() public method

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

Usage Example

Example #1
0
 /**
  * @param Object\ClassDefinition $class
  * @param bool $query
  * @return string
  */
 public function getTableName(Object\ClassDefinition $class, $query = false)
 {
     if ($query) {
         return "object_brick_query_" . $this->model->getKey() . "_" . $class->getId();
     } else {
         return "object_brick_store_" . $this->model->getKey() . "_" . $class->getId();
     }
 }
All Usage Examples Of Pimcore\Model\Object\ClassDefinition::getId