How i can open a tab from a grid every tab calling dynamic function for items of tab [solved]

Ext.QuickTips.init(); Ext.override(Desktop.ReportsWindow, { createProxy: {}, createWindow: function () { var desktop = this.app.getDesktop(); var win = desktop.getWindow(this.moduleId); var app = this.app; var url = this.app.connection; var moduleId = this.moduleId; var myData = [ [‘Diagnosis registry’, ‘Search patients that have a particular diagnosis or ICD9 code.’, ‘diagnosis’], [‘Medication report’, ‘Search patients that have been prescribed a … Read more

Cron Job command

command for Cron job: follow: php /home/USERNAME(like redsol)/public_html/wardrobeManagement/demo_cron.php components of Cron: 1: Path to your php or cgi script 2: minutes (Value is 00 – 59. exact minute the cron executes) 3: hour (Value is 00 – 23. hour of the day the cron executes. 0 means midnight) 4: month (Value is 01 – 12. … Read more

Tips for Using Multiple Sign-in with Google Accounts

A: How to Switch Between Different Google Accounts? Let’s say are signed into two separate Gmail accounts, using multiple sign-in, and would like to switch from one account to another? How do you do this? google multiple signin The popular option is that you click your email address on the Google bar (see the screenshot … Read more

EXTJS Hide Tab Panels

This is for hide the tab Ext.getCmp(tabpanel_id).hideTabStripItem(tabitem_id); This is for show the tab again Ext.getCmp(tabpanel_id).unhideTabStripItem(tabitem_id);

Prime Number Program

function IsPrime($number) { if ($number < 2) { /* We don’t want zero or one showing up as prime */ return FALSE; } for ($i=2; $i<=($number / 2); $i++) { if($number % $i == 0) { /* Modulus operator, very useful */ return FALSE; } } return TRUE; } for($i = 0; $i < 100; … Read more

Categories PHP

knowledgepedia.org

knowledgepedia.org : The website where you can get and share knowledge. The platform you can get every web development related knowledge.

Adding virtual host wamp server windows xp

here is the solution: open: c:\wamp\apache\apache2.2.8\bin\conf\httpd.conf add this at the end of this file NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot “e:/testsite/” ServerName testsite </VirtualHost> NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot “e:/” ServerName localhost </VirtualHost> and now open: C:\WINDOWS\system32\drivers\etc\hosts add this at the end 127.0.0.1       localhost 127.0.0.1       testsite Restart your wamp, and you … Read more

change date format very easy in php

If you have date in this 11-07-08 format, you can easily change the date according to you. like this: formatted_date = date(‘Y-m-d’,strtotime($date)); strtotime() returns the unix timestamp and you can use this timestamp in date() and get your date. I hope its help you. Thanks! Enjoy Programming 🙂

Categories PHP