Example #1
0
 public static function embed($id, $width = 560, $height = 315)
 {
     \View::import("ytb", "player", array("id" => $id, "width" => $width, "height" => $height));
 }
Example #2
0
 public static function generate($text, $size = 100)
 {
     \View::import("qr", "code", array("text" => $text, "size" => $size));
 }