OEModule\PatientTicketing\models\Queue::getQueueSet PHP 메소드

getQueueSet() 공개 메소드

Get the QueueSet this Queue belongs to.
public getQueueSet ( ) : QueueSet
리턴 QueueSet
    public function getQueueSet()
    {
        $root = $this->getRootQueue();
        if (is_array($root)) {
            throw new \Exception('Unexpected configuration of multiple root queues' . print_r($root, true));
            $rid = $root[0]->id;
        } else {
            $rid = $root->id;
        }
        return QueueSet::model()->findByAttributes(array('initial_queue_id' => $rid));
    }