| Total Complexity | 1 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class Post extends ActiveRecordModel |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string $tableName name of the database table. |
||
| 14 | */ |
||
| 15 | protected $tableName = "Post"; |
||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | /** |
||
| 20 | * Columns in the table. |
||
| 21 | * |
||
| 22 | * @var integer $id primary key auto incremented. |
||
| 23 | */ |
||
| 24 | public $postId; |
||
| 25 | public $acronym; |
||
| 26 | public $title; |
||
| 27 | public $text; |
||
| 28 | |||
| 29 | |||
| 30 | public function findLatest() |
||
| 42 |