In this video I have explained about Helpers in CakePHP and we have taken Breadcrumbs Helper into consideration.
Helpers
=============
Helpers are the component-like classes for the presentation layer of your application.
They contain presentational logic that is shared between many views, elements, or layouts.
This chapter will show you how to configure helpers. How to load helpers and use those helpers,
and outline the simple steps for creating your own custom helpers.
Have a look list of helpers in cakePHP
==============
Breadcrumbs
Flash
Form
Html
Number
Paginator
Rss
Session
Text
Time
Url
Breadcrumbs Helper
==================
class Cake\View\Helper\BreadcrumbsHelper(View $view, array $config = [])
BreadcrumbsHelper provides a way to easily deal with the creation and rendering
of a breadcrumbs trail for your app.
// Add at the end of the trail
$this-]Breadcrumbs-]add(
'Products',
['controller' =] 'products', 'action' =] 'index']
);
// Add multiple crumbs at the end of the trail
$this-]Breadcrumbs-]add([
['title' =] 'Products', 'url' =] ['controller' =] 'products', 'action' =] 'index']],
['title' =] 'Product name', 'url' =] ['controller' =] 'products', 'action' =]'view', 1234]]
]);
Here is an example of how to render a trail:
echo $this-]Breadcrumbs-]render(
['class' =] 'breadcrumbs-trail'],
['separator' =] '[i class="fa fa-angle-right"][/i]']
);
Documentation Study:
=================
https://book.cakephp.org/3.0/en/views...
Important Videos, you should watch:
1. Folder structure in cakePHP: • Learn CakePHP v3.5 Tutorial in HINDI for b...
2. CakePHP Installation Guide: • Learn CakePHP v3.5 Tutorial in HINDI for b...
3. CakePHP Application Flow Mechanism: • Learn CakePHP v3.5 Tutorial in HINDI for b...
4. Controller in CakePHP: • Learn CakePHP v3.5 Tutorial in HINDI for b...
5. Views in CakePHP: • Learn CakePHP v3.5 Tutorial in HINDI for b...
About CakePHP Installation
==================
1. Install composer: https://getcomposer.org
After installation check your composer installation via command: composer into terminal
2. Copy the Project Creating Command for cakePHP (https://book.cakephp.org/3.0/en/insta...)
command: php composer.phar create-project --prefer-dist cakephp/app my_app_name
before using this command make sure about your composer path
3. Paste the above command into command prompt/ terminal and hit inter.
4. Thats it Done :)
SOCIAL :
===============
Subscribe : / @onlinewebtutor
FACEBOOK : / onlinewebtutorhub
TWITTER: / owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
Also you can learn Wordpress Custom
===============
Wordpress Theme Development: https://goo.gl/MZ8maF
Wordpress Widget Development: https://goo.gl/Dc2htn
Wordpress Plugin Development: https://goo.gl/BA7dYG
Wordpress Theme Options Development: https://goo.gl/Vjv3Ub
Learn backbone.js here! : https://goo.gl/Qd2Pcs
Tags
===============
learn cakephp 3.5,
cakephp tutorial,
cakephp tutorial in hindi,
cakephp tutorial for beginners step by step,
cakephp 3,
cakephp 3 tutorial for beginners step by step,
cakephp 3 tutorial,
cakephp 3.5 tutorial,
cakephp tutorial for beginners step by step in hindi,
cakephp tutorial step by step,
cakephp tutorial for beginners,
learn cakephp in hindi,
learn cakephp step by step,
learn cakephp for beginner,
learn cakephp 3,
learn cakephp,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing :)
Информация по комментариям в разработке