| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Models; |
| 4 |
|
| 5 |
use Yoast\WP\Lib\Model; |
| 6 |
|
| 7 |
/** |
| 8 |
* Table definition for the SEO Meta table. |
| 9 |
* |
| 10 |
* @property int $object_id |
| 11 |
* @property int $internal_link_count |
| 12 |
* @property int $incoming_link_count |
| 13 |
*/ |
| 14 |
class SEO_Meta extends Model { |
| 15 |
|
| 16 |
/** |
| 17 |
* Overwrites the default ID column name. |
| 18 |
* |
| 19 |
* @var string |
| 20 |
*/ |
| 21 |
public static $id_column = 'object_id'; |
| 22 |
|
| 23 |
/** |
| 24 |
* Which columns contain int values. |
| 25 |
* |
| 26 |
* @var array |
| 27 |
*/ |
| 28 |
protected $int_columns = [ |
| 29 |
'object_id', |
| 30 |
'internal_link_count', |
| 31 |
'incoming_link_count', |
| 32 |
]; |
| 33 |
} |
| 34 |
|