puch inputs assignment

Discussion for TimeTrex open source community developers.
Locked
mohammad
Posts: 2
Joined: Sun Feb 03, 2008 5:58 am
Contact:

puch inputs assignment

Post by mohammad »

Please, can some one tell me how punch.php works?
I tried to understand the way that it assigne the user date and punch punch data
user_id, user_name, status_id...etc
to the $data array.

I tried to make manual assignment to understand that put I can not .

I am really confusing between punch.php and punch.tpl files.

please what does this code means

Code: Select all

extract	(FormVariables::GetVariables(
										array	(
												'action',
												'id',
												'data'
												) ) );


in interface/punch/punch.php file.
I readed the FormVariables class and GetVariables function but still can not understand :x .

Thanks.[/code]
Eng. Mohammad Sameer
Software Developer
email:m.samir.m@gmail.com
Locked