Pimcore\Model\Asset::getType PHP 메소드

getType() 공개 메소드

public getType ( ) : string
리턴 string
    public function getType()
    {
        return $this->type;
    }

Usage Example

예제 #1
0
파일: Manager.php 프로젝트: pimcore/pimcore
 /**
  * Loads the workflow into the manager
  * @throws \Exception
  */
 private function initWorkflow()
 {
     $config = Workflow\Config::getElementWorkflowConfig($this->element);
     $this->workflow = Workflow\Factory::getWorkflowFromConfig($config);
     if (!$this->workflow) {
         throw new \Exception("Cannot load workflow configuration for object [{$this->element->getId()}] of type [{$this->element->getType()}]");
     }
 }
All Usage Examples Of Pimcore\Model\Asset::getType