OEModule\PatientTicketing\components\PatientTicketing_API::getQueueForUserAndFirm PHP Méthode

getQueueForUserAndFirm() public méthode

Verifies that the provided queue id is an id for a Queue that the User can add to as the given Firm At the moment, no verification takes place beyond the fact that the id is valid and active.
public getQueueForUserAndFirm ( CWebUser $user, Firm $firm, integer $id )
$user CWebUser
$firm Firm
$id integer
    public function getQueueForUserAndFirm(\CWebUser $user, \Firm $firm, $id)
    {
        return Queue::model()->active()->findByPk($id);
    }