/** * Applies default values to this object. * This method should be called from the object's constructor (or * equivalent initialization method). * @see __construct() */ public function applyDefaultValues() { parent::applyDefaultValues(); $this->setFileExt('jpg'); $this->setType(assetType::THUMBNAIL); }
/** * Applies default values to this object. * This method should be called from the object's constructor (or * equivalent initialization method). * @see __construct() */ public function applyDefaultValues() { parent::applyDefaultValues(); $this->setType(assetType::FLAVOR); }
public function applyDefaultValues() { parent::applyDefaultValues(); $this->setType(CaptionPlugin::getAssetTypeCoreValue(CaptionAssetType::CAPTION)); }
public function applyDefaultValues() { parent::applyDefaultValues(); $this->setType(AttachmentPlugin::getAssetTypeCoreValue(AttachmentAssetType::ATTACHMENT)); }