| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php defined('SYSPATH') or die('No direct access allowed.'); |
||
| 16 | public function __call($method, $args) |
||
| 17 | { |
||
| 18 | // Output the Captcha challenge resource (no html) |
||
| 19 | // Pull the config group name from the URL |
||
| 20 | Captcha::factory($this->uri->segment(2))->render(false); |
||
|
|
|||
| 21 | } |
||
| 22 | } // End Captcha_Controller |
||
| 23 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: