-
Notifications
You must be signed in to change notification settings - Fork 122
Template inheritance
Jorge Castro edited this page Apr 22, 2020
·
11 revisions
Tag | Note |
---|---|
@section('sidebar') | Start a new section |
@show | Indicates where the content of the section will be displayed |
@yield('title') | Show here the content of a section |
Tag | Note |
---|---|
@extends('layouts.master') | Indicates the layout to use |
@section('title', 'Page Title') | Sends a single text to a section |
@section('sidebar') | Start a block of code to send to a section |
@endsection | End a block of code |
Note :(*) This feature is in the original documentation but it's not implemented either is it required. Maybe it's an obsolete feature.
Copyright Jorge Castro Castillo
- BladeOne Manual
- Template tags (views)
- Custom control
- Methods of the class
- Injecting logic before the view (composer)
- Extending the class
- Using BladeOne with YAF Yet Another Framework
- Differences between Blade and BladeOne
- Comparision with Twig (May-2020)
- Changelog
- Changes between 2.x and 3.0 and TODO
- Code Protection (Sourceguardian and similars)