24 lines
554 B
PHP
24 lines
554 B
PHP
--TEST--
|
|
ORDER from other table
|
|
--FILE--
|
|
<?php
|
|
include_once dirname(__FILE__) . "/connect.inc.php";
|
|
|
|
foreach ($software->application()->order("author.name, title") as $application) {
|
|
echo $application->author["name"] . ": $application[title]\n";
|
|
}
|
|
echo "\n";
|
|
|
|
foreach ($software->application_tag("application.author.name", "Jakub Vrana")->group("application_tag.tag_id") as $application_tag) {
|
|
echo $application_tag->tag["name"] . "\n";
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
David Grudl: Dibi
|
|
David Grudl: Nette
|
|
Jakub Vrana: Adminer
|
|
Jakub Vrana: JUSH
|
|
|
|
PHP
|
|
MySQL
|
|
JavaScript
|