websourceblog

How to get controller name and method name in codeigniter?

Get controller name and method name. CodeIgniter is a powerful PHP framework with a very small footprint, built for developers…

12 years ago

Vim commands

Vim is a text editor written by Bram Moolenaar. Its based on the vi editor common to Unix-like system. Following…

12 years ago

How to hide notices and warnings in php?

You can add following code on top of your php file. I had warnings and notices on joomla 2.5.11 site,…

12 years ago

doSelectStmt in symfony 1.2

doSelectStmt in symfony 1.2

12 years ago

Run custom query in symfony 1.2 with propel

Sometimes we require to execute complex query in symfony 1.2 with propel. For this following code can be used. $rowObj…

12 years ago

select all checkbox code in jquery

sometimes we have multiple checkbox fields in form and require to select all and deselect all. Following is code to…

12 years ago

referer method in symfony.

Referrer method in symfony. This is very useful method and used to redirect back to sender page.

12 years ago

How to register Ruby environments with pik?

pik add command is used to register your installed ruby environments with pik. For example, I have Ruby 1.9.3, and…

12 years ago

How to enable debug mode in joomla?

Sometimes we require troubleshooting for joomla cms based website. For this it is useful to enable joomla debug mode by…

13 years ago

array_reverse in PHP

array_reverse is one of array functions in php. It takes an input array and returns a new array with the…

13 years ago