#1  
Old 12th September 2010, 13: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
Jim
Reply With Quote
Sponsored Links
  #2  
Old 12th September 2010, 18:13
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
 
Default

$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
Reply

Bookmarks

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 12:41


All times are GMT +2. The time now is 08:51.


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