Overview

Namespaces

  • Crunchmail
    • Collections
    • Entities
    • Exception
    • PHPUnit
    • Resources

Classes

  • AttachmentEntity
  • ContactEntity
  • ContactListEntity
  • ContactQueueEntity
  • DomainEntity
  • GenericEntity
  • MessageEntity
  • RecipientEntity
  • Overview
  • Namespace
  • Class

Class ContactListEntity

Message entity class

Crunchmail\Entities\GenericEntity
Extended by Crunchmail\Entities\ContactListEntity
Namespace: Crunchmail\Entities
Located at Entities/ContactListEntity.php
Methods summary
public string
# __toString( )

To string

To string

Returns

string

Overrides

Crunchmail\Entities\GenericEntity::__toString()
public Crunchmail\Entities\ContactListEntity
# merge( array $list )

Merge contact list

Merge contact list

Parameters

$list
list of urls or entities to merge

Returns

Crunchmail\Entities\ContactListEntity
public Crunchmail\Entities\ContactListEntity
# import( string $content, array $fields = null )

Import CSV By default, keep all fields If fields is specified, only keep those ones

Import CSV By default, keep all fields If fields is specified, only keep those ones

Parameters

$content
CSV content
$fields
Keep only thoses fields

Returns

Crunchmail\Entities\ContactListEntity
Methods inherited from Crunchmail\Entities\GenericEntity
__call(), __construct(), __get(), __isset(), __unset(), getBody(), getLink()
Properties summary
protected static array $resources

Resource mapping

Resource mapping

# [ 'merge' => 'ContactList' ]
Properties inherited from Crunchmail\Entities\GenericEntity
$_body, $_resource, $exposeLinks, $links
API documentation generated by ApiGen