我需要这样的东西:
$products = Products::getTable()->find(274);
foreach ($products->Categories->orderBy('title') as $category)
{
echo "{$category->title}<br />";
}
Run Code Online (Sandbox Code Playgroud)
我知道这是不可能的,但是......如果不创建Doctrine_Query,我该怎么做呢?
谢谢.