Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockRule.html

changeset 1963
9c5b3235abf9
parent 1960
d8c45fe8a1b9
child 1994
84d55b34ba5a
--- a/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockRule.html	Sun Jul 29 13:40:11 2012 +0200
+++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockRule.html	Sun Jul 29 15:41:58 2012 +0200
@@ -133,6 +133,9 @@
 <td><a href="#AdBlockRule.setFilter">setFilter</a></td>
 <td>Public method to set the rule filter string.</td>
 </tr><tr>
+<td><a href="#AdBlockRule.subscription">subscription</a></td>
+<td>Public method to get the subscription this rule belongs to.</td>
+</tr><tr>
 <td><a href="#AdBlockRule.urlMatch">urlMatch</a></td>
 <td>Public method to check an URL against the rule.</td>
 </tr>
@@ -143,7 +146,7 @@
 </table>
 <a NAME="AdBlockRule.__init__" ID="AdBlockRule.__init__"></a>
 <h4>AdBlockRule (Constructor)</h4>
-<b>AdBlockRule</b>(<i>filter=""</i>)
+<b>AdBlockRule</b>(<i>filter="", subscription=None</i>)
 <p>
         Constructor
 </p><a NAME="AdBlockRule.__convertPatternToRegExp" ID="AdBlockRule.__convertPatternToRegExp"></a>
@@ -415,6 +418,16 @@
 <dd>
 rule filter string (string)
 </dd>
+</dl><a NAME="AdBlockRule.subscription" ID="AdBlockRule.subscription"></a>
+<h4>AdBlockRule.subscription</h4>
+<b>subscription</b>(<i></i>)
+<p>
+        Public method to get the subscription this rule belongs to.
+</p><dl>
+<dt>Returns:</dt>
+<dd>
+subscription of the rule (AdBlockSubscription)
+</dd>
 </dl><a NAME="AdBlockRule.urlMatch" ID="AdBlockRule.urlMatch"></a>
 <h4>AdBlockRule.urlMatch</h4>
 <b>urlMatch</b>(<i>url</i>)

eric ide

mercurial