예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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));
 }
예제 #4
0
 public function applyDefaultValues()
 {
     parent::applyDefaultValues();
     $this->setType(AttachmentPlugin::getAssetTypeCoreValue(AttachmentAssetType::ATTACHMENT));
 }