Showing 10 of 2,044 results.

Procedures | Procedure vs. Function vs. Method vs. ?

Procedures are sort of like functions, in the fact that they are sort of a language copy and paste feature. The defining difference is that a procedure does not return a value. You can thing of it kind of like this: a function determines how...

Supplying Multiple Parameters | Basic Filtering

By taking a quick scan of that table, you may notice that some filters accept multiple parameters. Parameters are separated by a comma ( , ). For example, if we wanted to filter our comments to only those left by an authenticated user in a known...

Laravel 4: Default Events

Laravel 4 provides a few events that are fired throughout your applications life cycle. This should just serve as a quick reference if you need to find where an event is called or what events are available. Event File auth.attempt...

canceled Event Method | Advanced Reply Forms

The canceled() method is called after a visitor has clicked the "Cancel Reply" link on your site. Meerkat will supply the ID of the comment that the visitor was replying to as well as an instance of the comment form: 1 MeerkatReply . canceled =...

0. Definitions. | License

…resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. A “covered work” means either the unmodified Program or a work based on the Program. To “propagate” a work means to do anything with it that,...

Example Use | Laravel 5: Filtering Array Elements With only

The only helper method is the logical opposite of the except method. Using the same $_POST array from the previous example, we could retrieve only a user's first name like so: 1 use Illuminate \ Support \ Arr ; 2 3 $ inputData = Arr :: only ( 4 $...

Laravel Artisan Route Command: The route:cache Command

…t ( ' / ' , function ( ) { 2 return view ( ' welcome ' ) ; 3 } ) ; In order to use route caching, all routes must be registered using controller classes. The following routes file could be cached: 1 <?php 2 3 Route :: get ( ' / ' , [ 4 ' uses '...

0. Definitions. | License

…resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. A “covered work” means either the unmodified Program or a work based on the Program. To “propagate” a work means to do anything with it that,...