Yoolk Liquid

Home Objects Extra_communication

Extra Communication

The extra_communication object has the following attributes:

extra_communication.id

Returns id of an extra_communication.

extra_communication.type

Returns the type of an extra_communication. Its value is one of these ["Telex", "Head Office", "Business Hours", "Address", "Branch Office", "Swift Code", "Department", "MSN", "Twitter", "Facebook", "Google Talk", "Yahoo Messenger", "Skype", "CCC Box", "Extension"].

extra_communication.label

Returns the label of an extra_communication.

extra_communication.value

Returns the value of an extra_communication.

extra_communication.created_at

Returns the timestamp of when the extra_communication was created. Use the date filter to format the timestamp.

extra_communication.updated_at

Returns the timestamp of when the extra_communication was last updated. Use the date filter to format the timestamp.

communication.email?

Returns true only if communication type is e-mail.

communication.telephone?

Returns true only if communication type is one of these ['tel', 'tel & fax', 'fax', 'mobile', 'mobile phone', 'toll free'] .

communication.website?

Returns true only if communication type is website.

communication.fax?

Returns true only if communication type is one of these ['tel & fax', 'fax'].

communication.facebook?

Returns true only if communication type is facebook.

communication.twitter?

Returns true only if communication type is twitter.

communication.address?

Returns true only if communication type is address.