You can always build a URL to go exactly where you want to go using Xataface URL conventions. E.g.
index.php?-table=people1&person_id=10
index.php?-table=people2&person_id=10
One would go to the record from table people1 where person_id is 10 and the other goes to table people2 where person_id is 10.
There are also convenience functions for generating URLs for you.
e.g.
Dataface_Application::url()
and
Dataface_Record::getURL()
e.g.
- Code: Select all
$app = Dataface_Application::getInstance();
$url = $app->url('-table=people&person_id=10');
or
$url = $app->url(array('-table'=>'people', 'person_id'=>10));
-Steve