Old 12th September 2010, 14:28
jjim50 jjim50 is offline
Junior Member
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default $data

Hi all, I'm just starting out developing for ispconfig and browsing through the source code I keep seeing $data being passed around. Looking for where $data is defined and populated, all I could find is it's declaration in system.inc.php and what seems to it being populated in tpl.inc.php with I really don't know what!

What I want to know is what data does $data hold and where it gets it from.
Thanks in advance
Reply With Quote
Sponsored Links
Old 12th September 2010, 19:13
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts

$data is the array which is used in the server event functions and it is populated in server/lib/modules.inc.php. It is a array structure which contains two sub hashes 'old' and 'new', one with the state of a given record before the update and one with the state after the update.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
lighttpd-Support PSIplus Feature Requests 24 23rd July 2011 13:41

All times are GMT +2. The time now is 12:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.