backend/controllers/QueuedController.php
/**
     * Finds the QueuedEvents model based on its primary key value.
     * If the model is not found, a 404 HTTP exception will be thrown.
     * @param string $event_uuid
     * @param integer $user_id
     * @return QueuedEvents the loaded model
     * @throws NotFoundHttpException if the model cannot be found
     */
Finds the QueuedEvents model based on its primary key value.
If the model is not found, a 404 HTTP exception will be thrown.
@param string $event_uuid
@param integer $user_id
@return QueuedEvents the loaded model
@throws NotFoundHttpException if the model cannot be found
Finds the QueuedEvents model based on its primary key value . If the model is not found a 404 HTTP exception will be thrown . @param string $event_uuid @param integer $user_id @return QueuedEvents the loaded model @throws NotFoundHttpException if the model cannot be found
protected function findModel($event_uuid, $user_id)
    {
        if (($model = QueuedEvents::findOne(['event_uuid' => $event_uuid, 'user_id' => $user_id])) !== null) {
            return $model;
        }
        throw new NotFoundHttpException('The requested page does not exist.');
    }
protected function findModel ( $ event_uuid , $ user_id ) { if ( ( $ model = QueuedEvents :: findOne ( [ 'event_uuid' => $ event_uuid , 'user_id' => $ user_id ] ) ) !== null ) { return $ model ; } throw new NotFoundHttpException ( 'The requested page does not exist.' ) ; }
Finds the QueuedEvents model based on its primary key value.
Finds the QueuedEvents model based on its primary key value .