| Total Complexity | 3 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Tag extends ActiveRecordModel |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string $tableName name of the database table. |
||
| 14 | */ |
||
| 15 | protected $tableName = "Tag"; |
||
| 16 | protected $tableIdColumn = "tagId"; |
||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | * Columns in the table. |
||
| 22 | * |
||
| 23 | * @var integer $id primary key auto incremented. |
||
| 24 | */ |
||
| 25 | public $tagId; |
||
| 26 | public $tag; |
||
| 27 | public $postId; |
||
| 28 | |||
| 29 | public function findAllTagsWhere($where, $value) |
||
| 40 | } |
||
| 41 | |||
| 42 | public function findPopular() |
||
| 54 |