Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
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.