| Total Complexity | 1 |
| Total Lines | 87 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 10 | class ODataEntry |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * |
||
| 14 | * Entry id |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | public $id; |
||
| 18 | /** |
||
| 19 | * |
||
| 20 | * Entry Self Link |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public $selfLink; |
||
| 24 | /** |
||
| 25 | * |
||
| 26 | * Entry title |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $title; |
||
| 30 | /** |
||
| 31 | * Entry Edit Link |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $editLink; |
||
| 35 | /** |
||
| 36 | * |
||
| 37 | * Entry Type. This become the value of term attribute of Category element |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | public $type; |
||
| 41 | /** |
||
| 42 | * |
||
| 43 | * Instance to hold entity properties. |
||
| 44 | * Properties corresponding to "m:properties" under content element |
||
| 45 | * in the case of Non-MLE. For MLE "m:properties" is direct child of entry |
||
| 46 | * @var ODataPropertyContent |
||
| 47 | */ |
||
| 48 | public $propertyContent; |
||
| 49 | /** |
||
| 50 | * |
||
| 51 | * Collection of entry media links (Named Stream Links) |
||
| 52 | * @var array<ODataMediaLink> |
||
| 53 | */ |
||
| 54 | public $mediaLinks = array(); |
||
| 55 | /** |
||
| 56 | * |
||
| 57 | * media link entry (MLE Link) |
||
| 58 | * @var ODataMediaLink |
||
| 59 | */ |
||
| 60 | public $mediaLink; |
||
| 61 | /** |
||
| 62 | * |
||
| 63 | * Collection of navigation links (can be expanded) |
||
| 64 | * @var array<ODataLink> |
||
| 65 | */ |
||
| 66 | public $links = array(); |
||
| 67 | /** |
||
| 68 | * |
||
| 69 | * Entry ETag |
||
| 70 | * @var string |
||
| 71 | */ |
||
| 72 | public $eTag; |
||
| 73 | |||
| 74 | /** |
||
| 75 | * |
||
| 76 | * True if this is a media link entry. |
||
| 77 | * @var boolean |
||
| 78 | */ |
||
| 79 | public $isMediaLinkEntry; |
||
| 80 | |||
| 81 | /** |
||
| 82 | * The name of the resource set this entry belongs to, use in metadata output |
||
| 83 | * @var string |
||
| 84 | */ |
||
| 85 | public $resourceSetName; |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Array of custom properties to serialize in key => value format. |
||
| 89 | * @var ODataPropertyContent |
||
| 90 | */ |
||
| 91 | public $customProperties = null; |
||
| 92 | |||
| 93 | public function __construct() |
||
| 99 |