All language subtitles for 5. Define Controller Methods

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Welcome to the course of Legal Aid EPA material, this is part of a 21 inside feed you filthy controller

method settings.

If I back Ed now, in the last few you we had created two controllers.

If you go inside and asked to be controllers, EPA, and as you can see that we have to control called

Brossette controller as well as student controller.

So what what are the methods we want for these controllers.

So formatter information if we go inside the slide, these are actually EPA's will to create insight.

Second phase of EPA development.

So inside student controller, we need a register method, logging method, profile method and oh,

look out method.

So first of all, we need to create for these four methods inside student controller.

So if I go back to Ed, go here, let the public function, simply say register.

Next, to create a public function and the method for looking after that, we need public function.

Litsa profile and the final matter we want inside is student control.

Is that public function logout.

So these are the four methods we are creating inside student controller.

Let's add one line, single command.

This is.

Registry, Ippei.

Logging API.

Profile, Filippa.

And finally, we should have the logout epper.

Now, inside all these matters in which methode we want barometer inside our phase one development epis,

we are seeing that in some few months we have passed a request in stands.

So inside which methode, we want our request in stands.

So just in case, when we hit this register methode as we know that we need to reduce student by the

help of this method, it means inside this method we will pass body palmettos and those barometer's

contain student information.

So we want the request in stands inside this register method here.

We will create the request instant's.

By the help of this request instance, people access all about input values, getting from body, from

Postman or from Eppy coincides Log-in.

Think about this log-in methode by the Log-in method.

We will pass email address and a password and by the help of this methode from a logged in to Yuzo to

use our setup.

So inside this case also we need requesting stands by the help of this request instance, we can access

the email address and the password that will hit this login method now.

Next we will have profile motherhood and the logout method.

So these two methods like register and login needs not any authentication.

It means while calling all Valentijn string these two methods inside your file.

We don't need to include actually any type of authentication, but in case of profile and logout, we

need to wrap inside a Middleville that is Santa Middleville.

So we will discuss inside next video.

It means inside string controller.

We have two matters which which don't need any authentication, but these two methods need authentication.

Now, if you go inside that controller, inside this second controller, we need methodically, Lucifer,

create product list, single product and Prosek delete.

So back to Controller Lizzi.

That public function created by the help of this method will create our Protect Talagi public function.

Here we have list Prozac.

So this is list method by the help of this list method from a list.

All the Prozac's now next public function free will have a single method.

By the help of the single Methode, we will display a single present information and finally we need

public function delete.

So by the help of this delete method, we will delete Prozac.

So let's add a suffix as Prozac.

So I will copy list Prozac, single Prozac and delete Prozac.

Let's add one more line.

Come in.

This is all about create Prozac epi.

List, Prosek, Epper.

Single project Epper, and here we have the lead project EPA now inside this second to inside each motherhood's.

So from these methods will we won't request instance.

So think about this create project.

When we call this methode, it means by the help of this method we are going to create project.

So obviously we will pass barometer's to create a project inside body.

So what I will do simply we will pass request instance here.

So request class and we to create request in stands by the help of this request instance will read the

body barometer's.

Now here we have list Bozak.

So in this case we don't need any parameter, only we need authentication.

Here we have single Prozac.

So while displaying any specific product information, we need our project ID.

So inside this case we need project ID for this delete project API also to delete any specific project.

We need Project ID.

So all the necessary parameters, we are passed inside all these methods.

And one most important thing that inside this controller, as we have seen, that two methods don't

need any authentication, but these two methods need authentication.

Pasaquan, Anthoula inside Brozak control each methods.

What we have created needs authentication.

It means when we use any method.

The user login must be needed because to process any request which associated these matters needs to

be done.

So we will see in the next video that how can we create episodes inside that appear out front?

Just a few doubts.

That means that will run without any authentication.

And few matters which will use a Middleville rechecks that are token is valid or not.

Let's say it going to check authentication so successfully.

Guys, inside this video now we have configured all the needed methods to create our epis inside this

student controller as well as inside Prusak controller.

In the next video, who will walk inside Epidaurus to configure our episodes so far this session.

Guys, thanks for watching and have a great day.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.