ok

Mini Shell

Direktori : /home2/selectio/www/myclassicfit.com/vendor/mpdf/mpdf/src/Tag/
Upload File :
Current File : /home2/selectio/www/myclassicfit.com/vendor/mpdf/mpdf/src/Tag/WatermarkText.php

<?php

namespace Mpdf\Tag;

class WatermarkText extends Tag
{

	public function open($attr, &$ahtml, &$ihtml)
	{
		$txt = '';
		if (!empty($attr['CONTENT'])) {
			$txt = htmlspecialchars_decode($attr['CONTENT'], ENT_QUOTES);
		}

		$alpha = -1;
		if (isset($attr['ALPHA']) && $attr['ALPHA'] > 0) {
			$alpha = $attr['ALPHA'];
		}
		$this->mpdf->SetWatermarkText($txt, $alpha);
	}

	public function close(&$ahtml, &$ihtml)
	{
	}
}

Zerion Mini Shell 1.0