Pimcore\Model\Element\Sanitycheck::getId PHP Метод

getId() публичный Метод

public getId ( ) : integer
Результат integer
    public function getId()
    {
        return $this->id;
    }

Usage Example

Пример #1
0
 /**
  * @static
  * @return Sanitycheck
  */
 public static function getNext()
 {
     $sanityCheck = new Sanitycheck();
     $sanityCheck->getDao()->getNext();
     if ($sanityCheck->getId() and $sanityCheck->getType()) {
         return $sanityCheck;
     } else {
         return null;
     }
 }