Skip to content
Advertisement

PHP where is this data coming from?

I am trying to implement a drop down for a form of a open source project. I am looking at line below and wondering where is $organizations coming from? There is no such indications in the file.

{!! Form::select('suggest_organization',$organizations,null,['class'=> 'form-control selectpicker','id' => 'suggest_organization','data-live-search' => 'true','data-size' => '5']) !!}

Link to the complete source code: https://github.com/sarapis/orservices/blob/master/resources/views/frontEnd/suggest/create.blade.php

Thank you for your time to help!

Advertisement

Answer

The declaration of the variable is declared in the app/Http/Controllers/frontEnd/SuggestController.php file. You can see it on this line.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement