
Search In
Before installing yii2 we need to install composer for install composer runthese commands
curl -s http://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
now for install yii first locate to your web root filder
cd /var/www
Hi,
The tutorial will help you to set underline textfield in Xcode.
#import <UIKit/UIKit.h>
@interface UnderlinedTextField : UITextField
@end
#import "UnderlinedTextField.h"
@implementation UnderlinedTextField
// Only override d
Using few lines of code we can add one image over another image. It is useful when we need to add a watermark image over an image.
-(UIImage *)imageWithWaterMarkImage :(UIImage*)topImage originalImage:(UIImage*)image
{
CGSize size = image.size;
You can replace all instance in a string using str_replace with the help of str_replace function.
In this example, str_replace replaces all instances of abc with xyz like this:
echo str_replace("abc","xyz","abcdefghijklmn");
the output will become
Hello readers, In this blog I will help you to know "What does keyword 'var' do in PHP ?"
It's regarding declaring class new member factors inside PHP4, and it will no longer needed. It'll operate inside PHP5, however it will increase an E_STRICT ca
Onchange is the most important function for Odoo. similar to a negative number of seats, or more participants than seats. For example you can see below code.
r.taken_seats = 0.0
else:
r.taken_seats = 100.
Hello Reader's!Sometime you see watermark on image like trademark and company logo, so questions is that how you can do this?
Today in my blog i am going to explain how you can create image with trademark using PHP.
create index.php file i

Here is the car controller script, just add this script to the car object and for values you can view the attached screenshots.
This script contains the normal code for car controller, In this code the car object is just simply moving according to t
One incredible thing about CSS is the capacity to make extraordinary searching plans for your sites and with CSS3 you can compose code that does not require javascript (as long as you have the latest web browsers!). This following example demonstrate
Step-1 Install base report module.
Step-2 After that customize base report module.
In below example, I have customised base report module. You can directly use the below base report module in your addons and run in Odoo server.
def onchange_
