Exemplo n.º 1
0
 public function doFromObject($entry, KalturaDetachedResponseProfile $responseProfile = null)
 {
     parent::doFromObject($entry, $responseProfile);
     if ($this->shouldGet('editorType', $responseProfile)) {
         if ($entry->getEditorType() == "kalturaAdvancedEditor" || $entry->getEditorType() == "Keditor") {
             $this->editorType = KalturaEditorType::ADVANCED;
         } else {
             $this->editorType = KalturaEditorType::SIMPLE;
         }
     }
 }