PHP Ajax adjustments
<p>My Website is Structured like:</p>

<p><code>index.php</code> which includes a <code>router.php</code> and <code>router.php</code> calls required <code>controller</code>.</p>

<p>for example if I call a list page like <code>http://example.com/index.php?list</code></p>

<p>the <code>router</code> will call the <code>list controller</code>. And <code>list controller</code> includes <code>header, pagination, search_form, list_items,footer views</code></p>

<p>At the moment every time I click on the page number in Pagination list the complete page will be reloaded and
all initilization that are in <code>index.php</code> and in l<code>ist_controller</code> will be loaded.</p>

<p>But now I want to change this process. I only have to reload the <code>list_items</code> view when clicking on page number.
Now problem is the variable, constants, and class initilization that were done in <code>index</code> and in <code>list_controller</code> are missing if i call the <code>list_item view</code> directly.</p>

<p>I don't want to change the complete Struct of the website. Is there a way to make all the variables, constants and object available for such an ajax request? As in coldfusion if a page is requested we have a possiblility to initilize the request variables before the request actually runs.</p>
