2013-09-04 2 views

답변

0

, 당신은 이런 식으로 작업을 수행 할 수 있습니다

// Should be a collection of one element (or zero if nothing found) 
$tokens = Mage::getModel('oauth/token')->getCollection()->addFilterById($tokenId); 
foreach ($tokens as $token) { 
    echo $token->getCustomerId(); 
} 
관련 문제