I want to add one functionality which is already available in "PHP Code".
I want to just integrate that Code in Drupal.
I have bunch of file from which I get that function do properly, So How can I integrate that code directly or by changing minimum code.