Added the php function call which will get the list of page