• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Driver\ApiMetadataDriver类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中Mautic\ApiBundle\Serializer\Driver\ApiMetadataDriver的典型用法代码示例。如果您正苦于以下问题:PHP ApiMetadataDriver类的具体用法?PHP ApiMetadataDriver怎么用?PHP ApiMetadataDriver使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了ApiMetadataDriver类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: loadApiMetadata

 /**
  * @param ApiMetadataDriver $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('tag')->addListProperties(array('tag'))->build();
 }
开发者ID:Jandersolutions,项目名称:mautic,代码行数:7,代码来源:Tag.php


示例2: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('form')->addProperties(array('id', 'label', 'showLabel', 'alias', 'type', 'defaultValue', 'isRequired', 'validationMessage', 'helpMessage', 'order', 'properties', 'labelAttributes', 'inputAttributes', 'containerAttributes', 'leadField', 'saveResult'))->build();
 }
开发者ID:HomeRefill,项目名称:mautic,代码行数:9,代码来源:Field.php


示例3: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('notification')->addListProperties(array('id', 'name', 'heading', 'message', 'url', 'language', 'category'))->addProperties(array('publishUp', 'publishDown', 'readCount', 'sentCount'))->build();
 }
开发者ID:HomeRefill,项目名称:mautic,代码行数:9,代码来源:Notification.php


示例4: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('user')->addListProperties(array('id', 'username', 'firstName', 'lastName'))->addProperties(array('email', 'position', 'role', 'timezone', 'locale', 'lastLogin', 'lastActive', 'onlineStatus'))->build();
 }
开发者ID:Jandersolutions,项目名称:mautic,代码行数:9,代码来源:User.php


示例5: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('category')->addListProperties(['id', 'title', 'alias', 'description', 'color'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:Category.php


示例6: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('stat')->addProperties(['id', 'dateSent', 'source', 'sentCount', 'lastSent', 'sourceId', 'lead', 'dynamicContent'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:Stat.php


示例7: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('tmutmtag')->addListProperties(array('id', 'lead', 'query', 'referer', 'remoteHost', 'url', 'userAgent', 'utmCampaign', 'utmContent', 'utmMedium', 'utmSource', 'utmTerm'))->build();
 }
开发者ID:Yame-,项目名称:mautic,代码行数:9,代码来源:UtmTag.php


示例8: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('leadNote')->addProperties(['id', 'text', 'type', 'dateTime'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:LeadNote.php


示例9: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('stat')->addProperties(array('id', 'clientInfo', 'dateOpened', 'device', 'deviceBrand', 'deviceModel', 'deviceOsName', 'deviceOsShortName', 'deviceOsVersion', 'deviceOsPlatform'))->build();
 }
开发者ID:Yame-,项目名称:mautic,代码行数:9,代码来源:LeadDevice.php


示例10: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('page')->addListProperties(array('id', 'title', 'alias', 'category'))->addProperties(array('language', 'publishUp', 'publishDown', 'hits', 'uniqueHits', 'variantHits', 'revision', 'metaDescription', 'redirectType', 'redirectUrl', 'variantSettings', 'variantStartDate', 'variantParent', 'variantChildren', 'translationParent', 'translationChildren'))->setMaxDepth(1, 'variantParent')->setMaxDepth(1, 'variantChildren')->setMaxDepth(1, 'translationParent')->setMaxDepth(1, 'translationChildren')->build();
 }
开发者ID:Yame-,项目名称:mautic,代码行数:9,代码来源:Page.php


示例11: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('company')->addListProperties(['id', 'fields'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:Company.php


示例12: loadApiMetadata

 /**
  * @param ApiMetadataDriver $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('dwc')->addListProperties(['id', 'name', 'category'])->addProperties(['publishUp', 'publishDown', 'sentCount', 'variantParent', 'variantChildren'])->setMaxDepth(1, 'variantParent')->setMaxDepth(1, 'variantChildren')->build();
 }
开发者ID:Yame-,项目名称:mautic,代码行数:7,代码来源:DynamicContent.php


示例13: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('report')->addListProperties(['id', 'name', 'description', 'system'])->addProperties(['source', 'columns', 'filters', 'tableOrder', 'graphs'])->build();
 }
开发者ID:Yame-,项目名称:mautic,代码行数:9,代码来源:Report.php


示例14: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('form')->addListProperties(array('id', 'name', 'alias', 'category'))->addProperties(array('description', 'cachedHtml', 'publishUp', 'publishDown', 'fields', 'actions', 'template', 'submissionCount', 'inKioskMode', 'renderStyle', 'formType'))->build();
 }
开发者ID:spdaly,项目名称:mautic,代码行数:9,代码来源:Form.php


示例15: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('point')->addListProperties(array('id', 'name', 'alias', 'category', 'type', 'description'))->addProperties(array('publishUp', 'publishDown', 'delta', 'properties'))->build();
 }
开发者ID:Jandersolutions,项目名称:mautic,代码行数:9,代码来源:Point.php


示例16: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('stat')->addProperties(['id', 'ipAddress', 'dateSent', 'isClicked', 'dateClicked', 'retryCount', 'source', 'clickCount', 'lastClicked', 'sourceId', 'trackingHash', 'lead', 'notification'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:Stat.php


示例17: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('campaign')->addListProperties(['id', 'name', 'category', 'description'])->addProperties(['publishUp', 'publishDown', 'events', 'leads', 'forms', 'lists', 'canvasSettings'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:Campaign.php


示例18: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('redirect')->addListProperties(array('id', 'redirectId', 'url'))->addProperties(array('hits', 'uniqueHits'))->build();
 }
开发者ID:Jandersolutions,项目名称:mautic,代码行数:9,代码来源:Redirect.php


示例19: loadApiMetadata

 /**
  * Prepares the metadata for API usage.
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('publish')->addProperties(['isPublished', 'dateAdded', 'createdBy', 'createdByUser', 'dateModified', 'modifiedBy', 'modifiedByUser'])->build();
 }
开发者ID:dongilbert,项目名称:mautic,代码行数:9,代码来源:FormEntity.php


示例20: loadApiMetadata

 /**
  * Prepares the metadata for API usage
  *
  * @param $metadata
  */
 public static function loadApiMetadata(ApiMetadataDriver $metadata)
 {
     $metadata->setGroupPrefix('email')->addListProperties(array('id', 'name', 'subject', 'language', 'category'))->addProperties(array('fromAddress', 'fromName', 'replyToAddress', 'bccAddress', 'publishUp', 'publishDown', 'readCount', 'sentCount', 'revision', 'assetAttachments', 'variantStartDate', 'variantSentCount', 'variantReadCount', 'variantParent', 'variantChildren'))->setMaxDepth(1, 'variantParent')->setMaxDepth(1, 'variantChildren')->build();
 }
开发者ID:Jandersolutions,项目名称:mautic,代码行数:9,代码来源:Email.php



注:本文中的Mautic\ApiBundle\Serializer\Driver\ApiMetadataDriver类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP Mapping\ClassMetadataBuilder类代码示例发布时间:2022-05-23
下一篇:
PHP PhpUnit\AbstractCompilerPassTestCase类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap