Showing 10 of 2,144 results.

The Controller Function | Laravel Paginator Pretty URLs

Now if we move over to our controller, we actually need to implement the getShowResults() function. 1 <?php 2 3 ... 4 5 class UsersController extends BaseController { 6 7 public function getShowResults ( $ page ) 8 { 9 // Code here to get a list...

Laravel Array Helper Function: array_sort

sort($array, callable $callback) The sort helper method will allow you to sort the given $array based on some condition returned by the $callback . The method works by iterating over all the values in the $array and passing the values it finds...

Navigation Menus

Tidal makes use of a number of navigation menus throughout the site, for various purposes. The following navigation menus are available for customization: Docs, : The main documentation menu. This appears on the left of the page by default, and as...

Laravel Array Helper Function: array_pluck

…y = null) The pluck helper method is used to retrieve a list of specific values from a given $array . It is most useful when used against arrays of objects, but will also work with arrays just as well. Let's use the following class to describe a...

Creating the Asset Container | Introduction & Installation

Before continuing with the rest of the documentation, we need to create an asset container to work with. Social Media Image Kit is configured to use an asset container with the handle social_media_images by default. If you do not already have an...

Setting the Command User | Laravel Task Scheduler: An Introduction

On Unix-like systems the user the command will run under can be customized by calling user method. The user method accepts only the name of the user and does not perform any validation on it. For example, the following would schedule a command to...