
Search In
In yii we can create our basic code for 'CREATE',,'UPDATE','READ','DELETE' operations. for enable this functionality we need to enable curd.
For enable curd go to your main.php file and find keyword 'gii' and you will see like this
/* 'modules'=&
Table is an abstract class which models the database and need to put constructor which declares the table name and primary key and also override some methods. It is used for creating,updating, reading and deleting of records in database. As this cla
When using _inherit but leaving out _name, the new model replaces the existing one, essentially extending it in-place. This is useful to add new fields or methods to existing models (created in other modules), or to customize or reconf
In profile module we have to create a profile, we only have to create a new directory in server/addons and we should call this folder.
profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py
Hello guys
Here, I assign custom created roles to user from custom portlet in liferay 6.2.
I create three regular roles i.e vendor, client and standard user from liferay portal.
Now, I assign the role to particular user from liferay portlet using
Hello readers !
Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine.
Router::connect(
'/:username', arra
In java can we create a inner class inside a method??
Answer to this query is yes .
Example code :
class Outer
{
String outerVar="outer Variable";
public void checkInner()
{
final String localVar="Loc
Following code will help in you to check the network availability for 3G and 4G connection
const char *host_name = "google.com";
BOOL _isDataSourceAvailable = NO;
Boolean success;
//Creates a reachability reference to the specif
Lets consider a scenario where while creating cases in Suite CRM, we know that we can select the account to associate the case with. But what is required is, a contact should also be selected but with a catch that only those contacts should be availa
As explained on post how to archive a snapshot, Now to restore a backup without writing to a compressed gz file from created archive, use the following sequence of commands:
umount /dev/vg0/snap_db-01
lvcreate --size 1G --name mdb-new vg0
dd if=/dev