$qsData = json_decode($output)->question; $metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags),
$slug = 'cat-verbal-grammar-parts-of-speech-pronoun-the-drama-teacher-gave-a-friend-and-some'
$output = '{"success":true,"question":{"_id":"aixZzRvMzLdbb57KY","name":"pronoun24","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>The drama teacher gave a friend and ____ some theater tickets.</p>\n","instructions":"<p><strong>Directions: </strong>Choose the correct pronoun to complete the sentence.</p>\n","options":[{"index":0,"statement":"<p>me</p>\n","is_correct":true,"feedback":"<p>Right! 'Me' (requires an object pronoun as the one who undergoes the action). <strong><em>Note: A good way to test whether you want to use “I” or “me” is to take the other pronoun out of the sentence and see if it still makes sense. </em></strong><strong><em>Examples:</em></strong></p>\n\n<p><u><strong><em>For 'I' </em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Harry and I went to the store. Test: I went to the store. (Correct!)</em></strong></li>\n\t<li><strong><em>Jake invited Brian and I over for dinner. Test: Jake invited I over for dinner. (Incorrect!)</em></strong></li>\n</ul>\n\n<p><u><strong><em>For 'Me'</em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Will you take my brother and me to the movies? Test: Will you take me to the movies? (Correct!)</em></strong></li>\n\t<li><strong><em>Sam, Jennifer, and me went to the beach.Test: Me went to the beach. (Incorrect!)</em></strong></li>\n</ul>\n"},{"index":1,"statement":"<p>I</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>we</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>us</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>me</p>\":true,\"<p>I</p>\":false,\"<p>we</p>\":false,\"<p>us</p>\":false}","feedback":"{\"<p>me</p>\":\"<p>Right! 'Me' (requires an object pronoun as the one who undergoes the action). <strong><em>Note: A good way to test whether you want to use “I” or “me” is to take the other pronoun out of the sentence and see if it still makes sense. </em></strong><strong><em>Examples:</em></strong></p>\\n\\n<p><u><strong><em>For 'I' </em></strong></u></p>\\n\\n<ul>\\n\\t<li><strong><em>Harry and I went to the store. Test: I went to the store. (Correct!)</em></strong></li>\\n\\t<li><strong><em>Jake invited Brian and I over for dinner. Test: Jake invited I over for dinner. (Incorrect!)</em></strong></li>\\n</ul>\\n\\n<p><u><strong><em>For 'Me'</em></strong></u></p>\\n\\n<ul>\\n\\t<li><strong><em>Will you take my brother and me to the movies? Test: Will you take me to the movies? (Correct!)</em></strong></li>\\n\\t<li><strong><em>Sam, Jennifer, and me went to the beach.Test: Me went to the beach. (Incorrect!)</em></strong></li>\\n</ul>\",\"<p>I</p>\":\"\",\"<p>we</p>\":\"\",\"<p>us</p>\":\"\"}","general_wrong_feedback":"<p>Wrong! <strong><em>A good way to test whether you want to use “I” or “me” is to take the other pronoun out of the sentence and see if it still makes sense. </em></strong><strong><em>Examples:</em></strong></p>\n\n<p><u><strong><em>'I'</em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Harry and I went to the store. Test: I went to the store. (Correct!)</em></strong></li>\n\t<li><strong><em>Jake invited Brian and I over for dinner. Test: Jake invited I over for dinner. (Incorrect!)</em></strong></li>\n</ul>\n\n<p><u><strong><em>'Me'</em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Will you take my brother and me to the movies? Test: Will you take me to the movies? (Correct!)</em></strong></li>\n\t<li><strong><em>Sam, Jennifer, and me went to the beach.Test: Me went to the beach. (Incorrect!)</em></strong></li>\n</ul>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Parts of Speech","Pronoun"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'aixZzRvMzLdbb57KY'
name => 'pronoun24'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Parts of Speech',
(int) 4 => 'Pronoun'
)
}
UrlsController::question() - APP/Controller/UrlsController.php, line 235
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Notice (8): Use of undefined constant desc - assumed 'desc' [APP/Controller/UrlsController.php, line 236]
$metadata = [ title => "Best CAT Coaching In Delhi - " . implode(' | ', $qsData->topic_tags), desc => !empty($qsData->common_data) ? substr(strip_tags($qsData->common_data), 0, 200) . '...' : $qsData->questions[0]->statement ? substr(strip_tags($qsData->questions[0]->statement), 0, 200) . '...' : 'Best CAT coaching CAT preparation and Personalised learning with unlimited classes, from Alchemist'
$slug = 'cat-verbal-grammar-parts-of-speech-pronoun-the-drama-teacher-gave-a-friend-and-some'
$output = '{"success":true,"question":{"_id":"aixZzRvMzLdbb57KY","name":"pronoun24","common_data":"","questions":[{"type":"MCQ","index":0,"statement":"<p>The drama teacher gave a friend and ____ some theater tickets.</p>\n","instructions":"<p><strong>Directions: </strong>Choose the correct pronoun to complete the sentence.</p>\n","options":[{"index":0,"statement":"<p>me</p>\n","is_correct":true,"feedback":"<p>Right! 'Me' (requires an object pronoun as the one who undergoes the action). <strong><em>Note: A good way to test whether you want to use “I” or “me” is to take the other pronoun out of the sentence and see if it still makes sense. </em></strong><strong><em>Examples:</em></strong></p>\n\n<p><u><strong><em>For 'I' </em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Harry and I went to the store. Test: I went to the store. (Correct!)</em></strong></li>\n\t<li><strong><em>Jake invited Brian and I over for dinner. Test: Jake invited I over for dinner. (Incorrect!)</em></strong></li>\n</ul>\n\n<p><u><strong><em>For 'Me'</em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Will you take my brother and me to the movies? Test: Will you take me to the movies? (Correct!)</em></strong></li>\n\t<li><strong><em>Sam, Jennifer, and me went to the beach.Test: Me went to the beach. (Incorrect!)</em></strong></li>\n</ul>\n"},{"index":1,"statement":"<p>I</p>\n","is_correct":false,"feedback":""},{"index":2,"statement":"<p>we</p>\n","is_correct":false,"feedback":""},{"index":3,"statement":"<p>us</p>\n","is_correct":false,"feedback":""}],"num_of_options":4,"num_of_correct_options":1,"correct_response":"{\"<p>me</p>\":true,\"<p>I</p>\":false,\"<p>we</p>\":false,\"<p>us</p>\":false}","feedback":"{\"<p>me</p>\":\"<p>Right! 'Me' (requires an object pronoun as the one who undergoes the action). <strong><em>Note: A good way to test whether you want to use “I” or “me” is to take the other pronoun out of the sentence and see if it still makes sense. </em></strong><strong><em>Examples:</em></strong></p>\\n\\n<p><u><strong><em>For 'I' </em></strong></u></p>\\n\\n<ul>\\n\\t<li><strong><em>Harry and I went to the store. Test: I went to the store. (Correct!)</em></strong></li>\\n\\t<li><strong><em>Jake invited Brian and I over for dinner. Test: Jake invited I over for dinner. (Incorrect!)</em></strong></li>\\n</ul>\\n\\n<p><u><strong><em>For 'Me'</em></strong></u></p>\\n\\n<ul>\\n\\t<li><strong><em>Will you take my brother and me to the movies? Test: Will you take me to the movies? (Correct!)</em></strong></li>\\n\\t<li><strong><em>Sam, Jennifer, and me went to the beach.Test: Me went to the beach. (Incorrect!)</em></strong></li>\\n</ul>\",\"<p>I</p>\":\"\",\"<p>we</p>\":\"\",\"<p>us</p>\":\"\"}","general_wrong_feedback":"<p>Wrong! <strong><em>A good way to test whether you want to use “I” or “me” is to take the other pronoun out of the sentence and see if it still makes sense. </em></strong><strong><em>Examples:</em></strong></p>\n\n<p><u><strong><em>'I'</em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Harry and I went to the store. Test: I went to the store. (Correct!)</em></strong></li>\n\t<li><strong><em>Jake invited Brian and I over for dinner. Test: Jake invited I over for dinner. (Incorrect!)</em></strong></li>\n</ul>\n\n<p><u><strong><em>'Me'</em></strong></u></p>\n\n<ul>\n\t<li><strong><em>Will you take my brother and me to the movies? Test: Will you take me to the movies? (Correct!)</em></strong></li>\n\t<li><strong><em>Sam, Jennifer, and me went to the beach.Test: Me went to the beach. (Incorrect!)</em></strong></li>\n</ul>\n"}],"state":"DRAFT","topic_tags":["CAT","Verbal","Grammar","Parts of Speech","Pronoun"]}}'
$islogin = (int) 0
$qsData = object(stdClass) {
_id => 'aixZzRvMzLdbb57KY'
name => 'pronoun24'
common_data => ''
questions => array(
(int) 0 => object(stdClass) {}
)
state => 'DRAFT'
topic_tags => array(
(int) 0 => 'CAT',
(int) 1 => 'Verbal',
(int) 2 => 'Grammar',
(int) 3 => 'Parts of Speech',
(int) 4 => 'Pronoun'
)
}
UrlsController::question() - APP/Controller/UrlsController.php, line 236
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118
Best CAT Coaching In Delhi - CAT | Verbal | Grammar | Parts of Speech | Pronoun