
Search In
Hello Readers! In this blog we will be discussing about the different identifiers. What is the difference between them and when to use which identifier? First lets start with the const.
Const : is used to declare a variable whose val
The following code help your image to move using UIPanGestureRecognizer. While moving your selected image other images set there location automatically.
-(void)addImageToScrollView
{
float x=5,y=40,width = 100,height = 100,spaceH = 5,spaceW
This posts will provide you a brief overview of PHP which is the most popular web development language. It is targeted to the audience having basic knowledge of programming. The readers searching for more in-depth knowledge will be disappointed.
Thi
To create two float fields in openerp you have to make third fields function and also this is a auto calculate in openerp.
Like:- field3 = field1 + field2
EXAMLE -
'field3' : fields.function(get_total, method=True, string='FIELD3',type='integer')
Properties are defined as the values that are associated with a JavaScript object.It is also called the very important part of Javascript.
A JavaScript object is made up of a collection of un-ordered properties.It can be changes, added, deleted.
syn
If you need something like all of your's html pages to be run like php files you can do the steps below:-
Step 1
Create a .htaccess file on your root.
Step 2
And add the line below
AddType application/x-httpd-php .html .htm
Or if you are using
In laravel 4.x we have lang class which will help us to retrieving string in different languages that will help us to easily support multiple languages.
The folder structure for lang files are
/app
/lang
/en
messages.php
There are n number of functions of strings in laravel 4.x which is used to perform action in string that are
camel_case:
camel_case is a function which is used to convert the given string to camelCase.
Example:
$camel = camel_case('foo_bar');
Res
The Carbon class is inherited from the PHP DateTime class.
Example:
<?php
class Carbon extends \DateTime
{
// code here
}
?>
There are n number of situation when we want to get the 1 day or 2 days old data. For this we will do calculati
In Laravel 4.x, We have a function by which we can run our query the syntax is
Syntax:
DB::getQueryLog()
By using this function We can run our query.
Example
$queries = DB::getQueryLog();
$last_query = end($queries);
We have also profiler pac
