function profile_images($itemdata) { parent::Item($itemdata); if ($this->itemtypedata['options']['allowAvatar'] or $this->itemtypedata['options']['allowAvatarAni'] or $this->itemtypedata['options']['maxwidth'] or $this->itemtypedata['options']['maxheight'] or $this->itemtypedata['options']['maxsize']) { $this->isAvatarItem = true; } if ($this->itemtypedata['options']['allowSigPic'] or $this->itemtypedata['options']['allowSigPicAni'] or $this->itemtypedata['options']['maxwidthSigPic'] or $this->itemtypedata['options']['maxheightSigPic'] or $this->itemtypedata['options']['maxsizeSigPic']) { $this->isSigPicItem = true; } }
function customize_userinfo($itemdata) { parent::Item($itemdata); if ($this->itemtypedata['options']['reveal_username'] or $this->itemtypedata['options']['reveal_usertitle'] or $this->itemtypedata['options']['reveal_invi']) { //Need to be processed as soon as possible $this->priority = 10; } if ($this->itemtypedata['options']['username_smilies'] != 0) { //Should be process before normal item $this->priority = 6; } }
function ItemInstance(&$parentItemObj, $ownerId) { parent::Item(); $this->setOwnerID($ownerId); $this->setItemType($parentItemObj->getItemType()); //$this->setTitle($parentItemObj->getTitle()); }