private function jsPlaceholder($width, $height, $text, $backgroundColor, $textColor, $random, array $options)
    {
        $src = 'holder.js/' . $width . 'x' . $height . '?bg=' . $backgroundColor . '&fg=' . $textColor . '&text=' . $text;

        if ($random) {
            $src .= $src . '&random=yes';
        }

        return Html::img('', array_merge($options, ['data-src' => $src]));
    }
private function jsPlaceholder($width, $height, $text, $backgroundColor, $textColor, $random, array $options)
    {
        $src = 'holder.js/' . $width . 'x' . $height . '?bg=' . $backgroundColor . '&fg=' . $textColor . '&text=' . $text;

        if ($random) {
            $src .= $src . '&random=yes';
        }

        return Html::img('', array_merge($options, ['data-src' => $src]));
    }
private function jsPlaceholder ( $ width , $ height , $ text , $ backgroundColor , $ textColor , $ random , array $ options ) { $ src = 'holder.js/' . $ width . 'x' . $ height . '?bg=' . $ backgroundColor . '&fg=' . $ textColor . '&text=' . $ text ; if ( $ random ) { $ src .= $ src . '&random=yes' ; } return Html :: img ( '' , array_merge ( $ options , [ 'data-src' => $ src ] ) ) ; }
Return JS placeholder image
@param integer $width
@param integer $height
@param string $text
@param string $backgroundColor
@param string $textColor
@param array $options
@return string
Return JS placeholder image