1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
<?php
namespace Yoast\WP\SEO\Models;
use Yoast\WP\Lib\Model;
/** * Table definition for the SEO Links table. * * @property int $id * @property string $url * @property int $post_id * @property int $target_post_id * @property string $type * @property int $indexable_id * @property int $target_indexable_id * @property int $height * @property int $width * @property int $size * @property string $language * @property string $region */ class SEO_Links extends Model {
/** * Indicates that the link is external. * * @var string */ const TYPE_INTERNAL = 'internal';
/** * Indicates that the link is internal. * * @var string */ const TYPE_EXTERNAL = 'external';
/** * Indicates the link is an internal image. * * @var string */ const TYPE_INTERNAL_IMAGE = 'image-in';
/** * Indicates the link is an external image. * * @var string */ const TYPE_EXTERNAL_IMAGE = 'image-ex';
/** * Holds the parsed URL. May not be set. * * @var array. */ public $parsed_url;
/** * Which columns contain int values. * * @var array */ protected $int_columns = [ 'id', 'post_id', 'target_post_id', 'indexable_id', 'target_indexable_id', 'height', 'width', 'size', ]; }
|