Page 1 of 1

puch inputs assignment

Posted: Sun May 04, 2008 4:25 am
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]