brotherton-erpnext/erpnext/docs/current/models/crm/newsletter_list.html
2015-12-10 17:58:12 +05:30

228 lines
5.4 KiB
HTML

<!-- title: Newsletter List -->
<div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.x.x</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/crm/doctype/newsletter_list"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<p><b>Table Name:</b> <code>tabNewsletter List</code></p>
<h3>Fields</h3>
<table class="table table-bordered">
<thead>
<tr>
<th style="width: 5%">Sr</th>
<th style="width: 25%">Fieldname</th>
<th style="width: 20%">Type</th>
<th style="width: 25%">Label</th>
<th style="width: 25%">Options</th>
</tr>
</thead>
<tbody>
<tr >
<td>1</td>
<td class="danger" title="Mandatory"><code>title</code></td>
<td >
Data</td>
<td >
Title
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>total_subscribers</code></td>
<td >
Int</td>
<td >
Total Subscribers
</td>
<td></td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.crm.doctype.newsletter_list.newsletter_list</h4>
<h3 style="font-weight: normal;">Class <b>NewsletterList</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="get_total_subscribers" href="#get_total_subscribers" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_total_subscribers</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="import_from" href="#import_from" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>import_from</b>
<i class="text-muted">(self, doctype)</i>
</p>
<div class="docs-attr-desc"><p>Extract email ids from given doctype and add them to the current list</p>
</div>
<br>
<p class="docs-attr-name">
<a name="on_trash" href="#on_trash" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_trash</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="onload" href="#onload" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>onload</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="update_total_subscribers" href="#update_total_subscribers" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_total_subscribers</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
</div>
<hr>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers" href="#erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.crm.doctype.newsletter_list.newsletter_list.<b>add_subscribers</b>
<i class="text-muted">(name, email_list)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.crm.doctype.newsletter_list.newsletter_list.import_from</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.crm.doctype.newsletter_list.newsletter_list.import_from" href="#erpnext.crm.doctype.newsletter_list.newsletter_list.import_from" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.crm.doctype.newsletter_list.newsletter_list.<b>import_from</b>
<i class="text-muted">(name, doctype)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<h4>Linked In:</h4>
<ul>
<li>
<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter">Newsletter</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/crm/newsletter_list_subscriber">Newsletter List Subscriber</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->