承接 remind/contacts 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

remind/contacts

最新稳定版本:v2.1.0

Composer 安装命令:

composer require remind/contacts

包简介

REMIND - Contacts

README 文档

README

Add custom fields

Use XCLASSing to extend base contact model and add additional fields.

<?php

declare(strict_types=1);

use Remind\Contacts\Domain\Model\Contact as DefaultContact;
use Remind\Extension\Domain\Model\Contact;

defined('TYPO3') || die('Access denied.');

(function (): void {
    $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][DefaultContact::class] = ['className' => Contact::class];
})();

Add VCard fields

To add fields to the VCard simply use XCLASSing like described before and override the getVCard method.

<?php

declare(strict_types=1);

namespace Remind\Extension\Domain\Model;

use Remind\Contacts\Domain\Model\Contact as BaseContact;
use Sabre\VObject\Component\VCard;

class Contact extends BaseContact
{
    public function getVCard(): VCard
    {
        $result = parent::getVCard();
        $result->add(
            'TITLE',
            ['Remind Developer'],
        );
        return $result;
    }
}

统计信息

  • 总下载量: 376
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2023-02-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固