I'm testing out some models from a CodeIgniter project via CLI, the method in question has two arguments:
public function get_questions_from_block($block_name, $return_array = FALSE)
I have tried this:
php index.php test_controller get_question_block_name example_block TRUE
but it returns 0 or FALSE. How do I pass multiple arguments through CLI ? Do I have to use :
$_SERVER['argv'];
to get all the arguments? Or is there an easier way?