
Search In
Hi all,
To sort an mantle array containing mantle model as object ,You can easily sort by multiple keys by adding more than one to the array. Using custom comparator-methods is possible as well.
NSSortDescriptor *sortDescriptor;
sortDescri
Joomla works on positions. Position works as a placeholder in Joomla Template where we place a module. According to those positions Joomla application able to place the module to a particular portion of a page. For example, the module position left m
We can load method in another controller without changing the url using Laravel.
If you are using Laravel 3 then we will define:
Controller::call('ApplesController@getSomething');
If We are using Larval 4.x then we will define:
$request = Reques
Some time when we want to access our public folder then we get the error "Failed to open stream: Permission denie' error - Laravel" . So when we get this error .Do not think much we have to clear our cache and just give permission to our folder and w
We can mask a png image over any other image with rotation and proper alignment.
Let say for example, if we need to replace the human face of an image with another face, then we need this type of masking. There are various ways and command within im
Hi! :)
Today we're going to take a first look at the Unity3D game development engine. This engine is pretty easy to use and has gained a lot of popularity in recent years. It supports multiple languages (including C#) and multiple operating systems
Cakephp provides a quick an easy way to paginate data.
In the controller we start by creating the pagination condition as given below :
public $paginate = array(
'limit' => 10,
'order' => array(
'Model.fi
Hi all,
Sometimes we need to add placeholder in our form fields but it get little bit complex when it comes to form api under Drupal CMS.
There is no hard coded form fields in drupal (In case of content and comment forms), everything is coming dyna
set() is the way to set values in your controller and get those values in your view file.
Syntax of set is-> $this->set('variable','value')
In cake-php controller you can set the values as -
set('variable1','value1');
$this->set('varia
The track element allows specifying explicit external timed text tracks for media elements. It does not represent anything on its own. Its provide a simple standardized way to add subtitles, captions, screen descriptions and chapters to video and aud
