Collective\Html\HtmlBuilder::ol PHP Method

ol() public method

Generate an ordered list of items.
public ol ( array $list, array $attributes = [] ) : Illuminate\Support\HtmlString | string
$list array
$attributes array
return Illuminate\Support\HtmlString | string
    public function ol($list, $attributes = [])
    {
        return $this->listing('ol', $list, $attributes);
    }

Usage Example

Example #1
0
 /**
  * Generate an ordered list of items.
  *
  * @param array $list
  * @param array $attributes
  * @return \Illuminate\Support\HtmlString|string 
  * @static 
  */
 public static function ol($list, $attributes = array())
 {
     return \Collective\Html\HtmlBuilder::ol($list, $attributes);
 }