Example #1
0
 /**
  * Generate a HTML link to an asset.
  *
  * @param string $url
  * @param string $title
  * @param array $attributes
  * @param bool $secure
  * @return string 
  * @static 
  */
 public static function linkAsset($url, $title = null, $attributes = array(), $secure = null)
 {
     return \Illuminate\Html\HtmlBuilder::linkAsset($url, $title, $attributes, $secure);
 }
Example #2
0
 /**
  * Generate a HTML link to an asset.
  *
  * @param  string  $url
  * @param  string  $title
  * @param  array   $attributes
  * @param  bool    $secure
  * @param  bool    $enablePrefix
  * @return string
  */
 public function linkAsset($url, $title = null, $attributes = array(), $secure = null, $enablePrefix = true)
 {
     return parent::linkAsset(($enablePrefix ? $this->prefix : null) . $url, $title, $attributes, $secure);
 }