active la présentation d'une icône pour délencher le téléchargement du fichier
@return ODDragNDrop
437795
public function enaThumbDload()
    {
        $properties = $this->getProperties();
        $properties['thumbDload'] = self::BOOLEAN_TRUE;
        $this->setProperties($properties);
        return $this;
    }
353288
public function current()
    {
        $icon = current($this->icon);

        $fa = clone $this;

        return $fa->addClass($icon);
    }
463421
public function disPresentationFiles()
    {
        $properties     = $this->getProperties();
        $acceptedFiles  = $properties['acceptedFiles'];
        $pptsExt        = $this->getPresentationExtensionConstant();
        $acceptedFiles  = $this->rmAcceptedFiles($acceptedFiles, $pptsExt);
        $properties['acceptedFiles']    = $acceptedFiles;
        $this->setProperties($properties);
        return $this;
    }
938619
public function active()
    {
        $this->attributes['class'] = Builder::formatGroupClass(array('class' => $this->builder->conf('active_class')), $this->attributes);
        $this->isActive = true;

        return $this;
    }
987935
public function isAlpha() {
        $this->check_role = 'alpha';
        $result = $this->checkRegex($this->value, '/^[A-Za-z]+$/');
        $this->checkResult($result);
        return $this;
    }
357219
public function disableOldBrowserSupport(): self
    {
        $this->needsCompile = ($this->needsCompile || $this->supportOldBrowsers !== false);
        $this->supportOldBrowsers = false;
        return $this;
    }
1317776
public function disThumbDload()
    {
        $properties = $this->getProperties();
        $properties['thumbDload'] = self::BOOLEAN_FALSE;
        $this->setProperties($properties);
        return $this;
    }
322985
public function getOGImage()
    {
        $config = $this->getSiteConfig();
        
        if (($image = $this->owner->MetaImage) && $image->exists()) {
            return $image->AbsoluteURL;
        }
        
        if ($config->AppIconLargeID && $config->AppIconLarge()->exists()) {
            return $config->AppIconLarge()->AbsoluteURL;
        }
    }
532535
public function withMediaByGuid(): self
    {
        if ($this->byGuid) {
            return $this;
        }

        $url = clone $this;
        $url->byGuid = true;

        return $url;
    }
978284
private function getDefaultAdapter()
    {
        if (extension_loaded('curl')) {
            $this->parallelAdapter = new MultiAdapter($this->messageFactory);
            $this->adapter = function_exists('curl_reset')
                ? new CurlAdapter($this->messageFactory)
                : $this->parallelAdapter;
            if (ini_get('allow_url_fopen')) {
                $this->adapter = new StreamingProxyAdapter(
                    $this->adapter,
                    new StreamAdapter($this->messageFactory)
                );
            }
        } elseif (ini_get('allow_url_fopen')) {
            $this->adapter = new StreamAdapter($this->messageFactory);
        } else {
            throw new \RuntimeException('Guzzle requires cURL, the '
                . 'allow_url_fopen ini setting, or a custom HTTP adapter.');
        }
    }
459565
public function unsetTemporaryRegion(): self
	{
		if ($this->isSettingSet(self::SET_ORIG_REGION))
		{
			$region = $this->getSetting(self::SET_ORIG_REGION);
			$this->setSetting(self::SET_REGION, $region);
			$this->setSetting(self::SET_PLATFORM, $this->platforms->getPlatformName($region));
			$this->setSetting(self::SET_ORIG_REGION, null);
		}
		return $this;
	}
1362835
public function toGIF()
    {
        $this->extension = 'gif';
        $this->type = IMAGETYPE_GIF;
        $this->mimetype = Utils::getMimetypeByImageType(IMAGETYPE_GIF);
        return $this;
    }
1218376
public function enaThumbView()
    {
        $properties = $this->getProperties();
        $properties['thumbView'] = self::BOOLEAN_TRUE;
        $this->setProperties($properties);
        return $this;
    }
563683
public function enaThumbRmove()
    {
        $properties = $this->getProperties();
        $properties['thumbRmove'] = self::BOOLEAN_TRUE;
        $this->setProperties($properties);
        return $this;
    }
127658
public function current()
    {
        // the logic here avoids redoing the same work in all iterations

        if (null === $subPathname = $this->subPath) {
            $subPathname = $this->subPath = (string) $this->getSubPath();
        }
        if ('' !== $subPathname) {
            $subPathname .= $this->directorySeparator;
        }
        $subPathname .= $this->getFilename();

        return new SplFileInfo($this->rootPath.$this->directorySeparator.$subPathname, $this->subPath, $subPathname);
    }
603764
public function apply()
  {
    if (!empty($this->modificators)) {
      foreach ($this->modificators as $k => $mod) {
        switch ($mod['method']) {
          case static::RESIZE:
            $this->doResize($mod['width'], $mod['height']);
            break;
          case static::CROP:
            $this->doCrop($mod['width'], $mod['height'], $mod['x'], $mod['y']);
            break;
          case static::WATERMARK:
            $this->doWatermark($mod['file'], $mod['x'], $mod['y']);
            break;
          case static::CROP_RESIZED:
            $this->doCropResized($mod['width'], $mod['height'], $mod['x'], $mod['y']);
            break;
        }

        unset($this->modificators[$k]);
      }
    }

    return $this;
  }
285868
public function doCancel()
    {
        if ($this->isCancelable()) {
            $this->status = self::STATUS_CANCELED;

            $this->save();
        }

        return $this;
    }