| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function __construct(&$row, $id_name = 'cid', $pid_name = 'pid', $title_name = 'title') |
||
| 32 | { |
||
| 33 | parent::__construct(); |
||
| 34 | $this->initVar($id_name, XOBJ_DTYPE_INT, $row[$id_name]); |
||
| 35 | $this->initVar($pid_name, XOBJ_DTYPE_INT, $row[$pid_name]); |
||
| 36 | $this->initVar($title_name, XOBJ_DTYPE_TXTBOX, $row[$title_name]); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.