rename entity getters/setters to renuve 'Item'

This commit is contained in:
Mike Macgirvin 2023-09-03 19:33:56 +10:00
parent 4f4c6c30bc
commit e3e1404c77

View file

@ -298,7 +298,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemLevel() public function getLevel()
{ {
return $this->item_level; return $this->item_level;
} }
@ -307,7 +307,7 @@ class Item extends BaseObject
* @param mixed $item_level * @param mixed $item_level
* @return Item * @return Item
*/ */
public function setItemLevel($item_level) public function setLevel($item_level)
{ {
$this->item_level = $item_level; $this->item_level = $item_level;
return $this; return $this;
@ -1072,7 +1072,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemRestrict() public function getRestrict()
{ {
return $this->item_restrict; return $this->item_restrict;
} }
@ -1081,7 +1081,7 @@ class Item extends BaseObject
* @param mixed $item_restrict * @param mixed $item_restrict
* @return Item * @return Item
*/ */
public function setItemRestrict($item_restrict) public function setRestrict($item_restrict)
{ {
$this->item_restrict = $item_restrict; $this->item_restrict = $item_restrict;
return $this; return $this;
@ -1090,7 +1090,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemFlags() public function getFlags()
{ {
return $this->item_flags; return $this->item_flags;
} }
@ -1099,7 +1099,7 @@ class Item extends BaseObject
* @param mixed $item_flags * @param mixed $item_flags
* @return Item * @return Item
*/ */
public function setItemFlags($item_flags) public function setFlags($item_flags)
{ {
$this->item_flags = $item_flags; $this->item_flags = $item_flags;
return $this; return $this;
@ -1108,7 +1108,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemPrivate() public function getPrivate()
{ {
return $this->item_private; return $this->item_private;
} }
@ -1117,7 +1117,7 @@ class Item extends BaseObject
* @param mixed $item_private * @param mixed $item_private
* @return Item * @return Item
*/ */
public function setItemPrivate($item_private) public function setPrivate($item_private)
{ {
$this->item_private = $item_private; $this->item_private = $item_private;
return $this; return $this;
@ -1126,7 +1126,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemOrigin() public function getOrigin()
{ {
return $this->item_origin; return $this->item_origin;
} }
@ -1135,7 +1135,7 @@ class Item extends BaseObject
* @param mixed $item_origin * @param mixed $item_origin
* @return Item * @return Item
*/ */
public function setItemOrigin($item_origin) public function setOrigin($item_origin)
{ {
$this->item_origin = $item_origin; $this->item_origin = $item_origin;
return $this; return $this;
@ -1144,7 +1144,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemUnseen() public function getUnseen()
{ {
return $this->item_unseen; return $this->item_unseen;
} }
@ -1153,7 +1153,7 @@ class Item extends BaseObject
* @param mixed $item_unseen * @param mixed $item_unseen
* @return Item * @return Item
*/ */
public function setItemUnseen($item_unseen) public function setUnseen($item_unseen)
{ {
$this->item_unseen = $item_unseen; $this->item_unseen = $item_unseen;
return $this; return $this;
@ -1162,7 +1162,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemStarred() public function getStarred()
{ {
return $this->item_starred; return $this->item_starred;
} }
@ -1171,7 +1171,7 @@ class Item extends BaseObject
* @param mixed $item_starred * @param mixed $item_starred
* @return Item * @return Item
*/ */
public function setItemStarred($item_starred) public function setStarred($item_starred)
{ {
$this->item_starred = $item_starred; $this->item_starred = $item_starred;
return $this; return $this;
@ -1180,7 +1180,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemUplink() public function getUplink()
{ {
return $this->item_uplink; return $this->item_uplink;
} }
@ -1189,7 +1189,7 @@ class Item extends BaseObject
* @param mixed $item_uplink * @param mixed $item_uplink
* @return Item * @return Item
*/ */
public function setItemUplink($item_uplink) public function setUplink($item_uplink)
{ {
$this->item_uplink = $item_uplink; $this->item_uplink = $item_uplink;
return $this; return $this;
@ -1198,7 +1198,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemConsensus() public function getConsensus()
{ {
return $this->item_consensus; return $this->item_consensus;
} }
@ -1207,7 +1207,7 @@ class Item extends BaseObject
* @param mixed $item_consensus * @param mixed $item_consensus
* @return Item * @return Item
*/ */
public function setItemConsensus($item_consensus) public function setConsensus($item_consensus)
{ {
$this->item_consensus = $item_consensus; $this->item_consensus = $item_consensus;
return $this; return $this;
@ -1216,7 +1216,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemWall() public function getWall()
{ {
return $this->item_wall; return $this->item_wall;
} }
@ -1225,7 +1225,7 @@ class Item extends BaseObject
* @param mixed $item_wall * @param mixed $item_wall
* @return Item * @return Item
*/ */
public function setItemWall($item_wall) public function setWall($item_wall)
{ {
$this->item_wall = $item_wall; $this->item_wall = $item_wall;
return $this; return $this;
@ -1234,7 +1234,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemThreadTop() public function getThreadTop()
{ {
return $this->item_thread_top; return $this->item_thread_top;
} }
@ -1243,7 +1243,7 @@ class Item extends BaseObject
* @param mixed $item_thread_top * @param mixed $item_thread_top
* @return Item * @return Item
*/ */
public function setItemThreadTop($item_thread_top) public function setThreadTop($item_thread_top)
{ {
$this->item_thread_top = $item_thread_top; $this->item_thread_top = $item_thread_top;
return $this; return $this;
@ -1252,7 +1252,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemNotshown() public function getNotshown()
{ {
return $this->item_notshown; return $this->item_notshown;
} }
@ -1261,7 +1261,7 @@ class Item extends BaseObject
* @param mixed $item_notshown * @param mixed $item_notshown
* @return Item * @return Item
*/ */
public function setItemNotshown($item_notshown) public function setNotshown($item_notshown)
{ {
$this->item_notshown = $item_notshown; $this->item_notshown = $item_notshown;
return $this; return $this;
@ -1270,7 +1270,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemNsfw() public function getNsfw()
{ {
return $this->item_nsfw; return $this->item_nsfw;
} }
@ -1279,7 +1279,7 @@ class Item extends BaseObject
* @param mixed $item_nsfw * @param mixed $item_nsfw
* @return Item * @return Item
*/ */
public function setItemNsfw($item_nsfw) public function setNsfw($item_nsfw)
{ {
$this->item_nsfw = $item_nsfw; $this->item_nsfw = $item_nsfw;
return $this; return $this;
@ -1288,7 +1288,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemRelay() public function getRelay()
{ {
return $this->item_relay; return $this->item_relay;
} }
@ -1297,7 +1297,7 @@ class Item extends BaseObject
* @param mixed $item_relay * @param mixed $item_relay
* @return Item * @return Item
*/ */
public function setItemRelay($item_relay) public function setRelay($item_relay)
{ {
$this->item_relay = $item_relay; $this->item_relay = $item_relay;
return $this; return $this;
@ -1306,7 +1306,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemMentionsme() public function getMentionsme()
{ {
return $this->item_mentionsme; return $this->item_mentionsme;
} }
@ -1315,7 +1315,7 @@ class Item extends BaseObject
* @param mixed $item_mentionsme * @param mixed $item_mentionsme
* @return Item * @return Item
*/ */
public function setItemMentionsme($item_mentionsme) public function setMentionsme($item_mentionsme)
{ {
$this->item_mentionsme = $item_mentionsme; $this->item_mentionsme = $item_mentionsme;
return $this; return $this;
@ -1324,7 +1324,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemNocomment() public function getNocomment()
{ {
return $this->item_nocomment; return $this->item_nocomment;
} }
@ -1333,7 +1333,7 @@ class Item extends BaseObject
* @param mixed $item_nocomment * @param mixed $item_nocomment
* @return Item * @return Item
*/ */
public function setItemNocomment($item_nocomment) public function setNocomment($item_nocomment)
{ {
$this->item_nocomment = $item_nocomment; $this->item_nocomment = $item_nocomment;
return $this; return $this;
@ -1342,7 +1342,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemObscured() public function getObscured()
{ {
return $this->item_obscured; return $this->item_obscured;
} }
@ -1351,7 +1351,7 @@ class Item extends BaseObject
* @param mixed $item_obscured * @param mixed $item_obscured
* @return Item * @return Item
*/ */
public function setItemObscured($item_obscured) public function setObscured($item_obscured)
{ {
$this->item_obscured = $item_obscured; $this->item_obscured = $item_obscured;
return $this; return $this;
@ -1360,7 +1360,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemVerified() public function getVerified()
{ {
return $this->item_verified; return $this->item_verified;
} }
@ -1369,7 +1369,7 @@ class Item extends BaseObject
* @param mixed $item_verified * @param mixed $item_verified
* @return Item * @return Item
*/ */
public function setItemVerified($item_verified) public function setVerified($item_verified)
{ {
$this->item_verified = $item_verified; $this->item_verified = $item_verified;
return $this; return $this;
@ -1378,7 +1378,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemRetained() public function getRetained()
{ {
return $this->item_retained; return $this->item_retained;
} }
@ -1387,7 +1387,7 @@ class Item extends BaseObject
* @param mixed $item_retained * @param mixed $item_retained
* @return Item * @return Item
*/ */
public function setItemRetained($item_retained) public function setRetained($item_retained)
{ {
$this->item_retained = $item_retained; $this->item_retained = $item_retained;
return $this; return $this;
@ -1396,7 +1396,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemRss() public function getRss()
{ {
return $this->item_rss; return $this->item_rss;
} }
@ -1405,7 +1405,7 @@ class Item extends BaseObject
* @param mixed $item_rss * @param mixed $item_rss
* @return Item * @return Item
*/ */
public function setItemRss($item_rss) public function setRss($item_rss)
{ {
$this->item_rss = $item_rss; $this->item_rss = $item_rss;
return $this; return $this;
@ -1414,7 +1414,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemDeleted() public function getDeleted()
{ {
return $this->item_deleted; return $this->item_deleted;
} }
@ -1423,7 +1423,7 @@ class Item extends BaseObject
* @param mixed $item_deleted * @param mixed $item_deleted
* @return Item * @return Item
*/ */
public function setItemDeleted($item_deleted) public function setDeleted($item_deleted)
{ {
$this->item_deleted = $item_deleted; $this->item_deleted = $item_deleted;
return $this; return $this;
@ -1432,7 +1432,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemType() public function getType()
{ {
return $this->item_type; return $this->item_type;
} }
@ -1441,7 +1441,7 @@ class Item extends BaseObject
* @param mixed $item_type * @param mixed $item_type
* @return Item * @return Item
*/ */
public function setItemType($item_type) public function setType($item_type)
{ {
$this->item_type = $item_type; $this->item_type = $item_type;
return $this; return $this;
@ -1450,7 +1450,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemHidden() public function getHidden()
{ {
return $this->item_hidden; return $this->item_hidden;
} }
@ -1459,7 +1459,7 @@ class Item extends BaseObject
* @param mixed $item_hidden * @param mixed $item_hidden
* @return Item * @return Item
*/ */
public function setItemHidden($item_hidden) public function setHidden($item_hidden)
{ {
$this->item_hidden = $item_hidden; $this->item_hidden = $item_hidden;
return $this; return $this;
@ -1468,7 +1468,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemUnpublished() public function getUnpublished()
{ {
return $this->item_unpublished; return $this->item_unpublished;
} }
@ -1477,7 +1477,7 @@ class Item extends BaseObject
* @param mixed $item_unpublished * @param mixed $item_unpublished
* @return Item * @return Item
*/ */
public function setItemUnpublished($item_unpublished) public function setUnpublished($item_unpublished)
{ {
$this->item_unpublished = $item_unpublished; $this->item_unpublished = $item_unpublished;
return $this; return $this;
@ -1486,7 +1486,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemDelayed() public function getDelayed()
{ {
return $this->item_delayed; return $this->item_delayed;
} }
@ -1495,7 +1495,7 @@ class Item extends BaseObject
* @param mixed $item_delayed * @param mixed $item_delayed
* @return Item * @return Item
*/ */
public function setItemDelayed($item_delayed) public function setDelayed($item_delayed)
{ {
$this->item_delayed = $item_delayed; $this->item_delayed = $item_delayed;
return $this; return $this;
@ -1504,7 +1504,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemPendingRemove() public function getPendingRemove()
{ {
return $this->item_pending_remove; return $this->item_pending_remove;
} }
@ -1513,7 +1513,7 @@ class Item extends BaseObject
* @param mixed $item_pending_remove * @param mixed $item_pending_remove
* @return Item * @return Item
*/ */
public function setItemPendingRemove($item_pending_remove) public function setPendingRemove($item_pending_remove)
{ {
$this->item_pending_remove = $item_pending_remove; $this->item_pending_remove = $item_pending_remove;
return $this; return $this;
@ -1522,7 +1522,7 @@ class Item extends BaseObject
/** /**
* @return mixed * @return mixed
*/ */
public function getItemBlocked() public function getBlocked()
{ {
return $this->item_blocked; return $this->item_blocked;
} }
@ -1531,7 +1531,7 @@ class Item extends BaseObject
* @param mixed $item_blocked * @param mixed $item_blocked
* @return Item * @return Item
*/ */
public function setItemBlocked($item_blocked) public function setBlocked($item_blocked)
{ {
$this->item_blocked = $item_blocked; $this->item_blocked = $item_blocked;
return $this; return $this;