Hi All
I am trying to understand, what this 'page arguments' is.
$items['accountant/edit/registry/%'] = array(
'type' => MENU_CALLBACK,
'title' => 'Create Registry',
'page callback' => 'drupal_get_form',
'page arguments' => array('accountant_registry_form',3),
'access callback' => 'user_access',
'access arguments' => array('accountant create registry'),
);
Page arugments contains a function name 'accountant_registry_form' and 3 number of arguments.
So the function 'accountant_registry_form' is automatically called, or need to be called from my custom module. Will there be 3 argumenets, if so what are these 3 arguments and where it is mentioned.
Can somebody give me a high level explaination and point me to a right link/document to understand this.
Thanks
Austin
On Tue, Apr 12, 2011 at 7:09 AM, Austin Einter
<austin.einter@gmail.com> wrote:
Hi All
I have a search text field, and a search button.
If user presss search button, I redirect to a new page and 'page callback' function invoked.
I wanted the data entered in search text field (that was present in form of previous page) should be available in 'page callback' function.
Is this possible?
Regards
Austin