lib/rmobio/doc/classes/Rmobio/Utils.html in rmobio-1.1.14 vs lib/rmobio/doc/classes/Rmobio/Utils.html in rmobio-1.1.15
- old
+ new
@@ -78,17 +78,17 @@
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000070">backURL</a>
- <a href="#M000071">backurl_xml</a>
- <a href="#M000067">cacheControl</a>
- <a href="#M000069">cacheimg</a>
- <a href="#M000068">cacheloader</a>
- <a href="#M000073">get_domain</a>
- <a href="#M000072">logHeaders</a>
+ <a href="#M000034">backURL</a>
+ <a href="#M000035">backurl_xml</a>
+ <a href="#M000031">cacheControl</a>
+ <a href="#M000033">cacheimg</a>
+ <a href="#M000032">cacheloader</a>
+ <a href="#M000037">get_domain</a>
+ <a href="#M000036">logHeaders</a>
</div>
</div>
</div>
@@ -106,16 +106,16 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Class methods</h3>
- <div id="method-M000073" class="method-detail">
- <a name="M000073"></a>
+ <div id="method-M000037" class="method-detail">
+ <a name="M000037"></a>
<div class="method-heading">
- <a href="Utils.src/M000073.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000073.html');return false;">
+ <a href="Utils.src/M000037.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000037.html');return false;">
<span class="method-name">get_domain</span><span class="method-args">(uri)</span>
</a>
</div>
<div class="method-description">
@@ -125,23 +125,23 @@
</div>
</div>
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000070" class="method-detail">
- <a name="M000070"></a>
+ <div id="method-M000034" class="method-detail">
+ <a name="M000034"></a>
<div class="method-heading">
- <a href="Utils.src/M000070.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000070.html');return false;">
+ <a href="Utils.src/M000034.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000034.html');return false;">
<span class="method-name">backURL</span><span class="method-args">(key)</span>
</a>
</div>
<div class="method-description">
<p>
-#== <a href="Utils.html#M000070">backURL</a>(key) This utility handles back
+#== <a href="Utils.html#M000034">backURL</a>(key) This utility handles back
url to GLP if page is cached. It expects params[:burl] or a session key and
renders the following xml data back to the caller:
</p>
<p>
<data xmlns="">
@@ -164,11 +164,11 @@
<pre>
<xf:instance id="homepage" src="storeBackurl?burl=SOMEURL" />
</pre>
<p>
Where the controller should provide a "storeBackurl" method that
-just call this <a href="Utils.html#M000070">backURL</a> utility:
+just call this <a href="Utils.html#M000034">backURL</a> utility:
</p>
<pre>
def storeBackurl
backURL("recipe_burl")
end
@@ -177,16 +177,16 @@
#=== Parameter key => a unique session key to store the burl for the app
</p>
</div>
</div>
- <div id="method-M000071" class="method-detail">
- <a name="M000071"></a>
+ <div id="method-M000035" class="method-detail">
+ <a name="M000035"></a>
<div class="method-heading">
- <a href="Utils.src/M000071.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000071.html');return false;">
+ <a href="Utils.src/M000035.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000035.html');return false;">
<span class="method-name">backurl_xml</span><span class="method-args">(key)</span>
</a>
</div>
<div class="method-description">
@@ -194,16 +194,16 @@
if you want to just return partial backurl without headers and no rendering
</p>
</div>
</div>
- <div id="method-M000067" class="method-detail">
- <a name="M000067"></a>
+ <div id="method-M000031" class="method-detail">
+ <a name="M000031"></a>
<div class="method-heading">
- <a href="Utils.src/M000067.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000067.html');return false;">
+ <a href="Utils.src/M000031.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000031.html');return false;">
<span class="method-name">cacheControl</span><span class="method-args">(cacheStr='priority=P3;max-age=604800')</span>
</a>
</div>
<div class="method-description">
@@ -211,57 +211,57 @@
#== cachControl #=== Adding cache control to response header
</p>
</div>
</div>
- <div id="method-M000069" class="method-detail">
- <a name="M000069"></a>
+ <div id="method-M000033" class="method-detail">
+ <a name="M000033"></a>
<div class="method-heading">
- <a href="Utils.src/M000069.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000069.html');return false;">
+ <a href="Utils.src/M000033.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000033.html');return false;">
<span class="method-name">cacheimg</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p>
-#== <a href="Utils.html#M000069">cacheimg</a> #=== A utility method to add
+#== <a href="Utils.html#M000033">cacheimg</a> #=== A utility method to add
cache control to images #=== This utility is deprecated, use <a
-href="Utils.html#M000068">cacheloader</a> instead To add a cache control
+href="Utils.html#M000032">cacheloader</a> instead To add a cache control
for an image file in RAILS_ROOT/public/images, edit the configuration file
"cachehints.txt with image name and header. Ex:
</p>
<p>
logo.png: priority=P2;max-age=1296000
</p>
<p>
To access the image in your xforms, use the following pattern:
<icon>img?name=logo.png</icon> Where the controller should
provide an img method that just call this <a
-href="Utils.html#M000069">cacheimg</a> utility.
+href="Utils.html#M000033">cacheimg</a> utility.
</p>
<p>
Sample cachehints.txt: Skins_176A2-a.png: priority=P2;max-age=1296000
logo.png: priority=P2;max-age=1296000
</p>
</div>
</div>
- <div id="method-M000068" class="method-detail">
- <a name="M000068"></a>
+ <div id="method-M000032" class="method-detail">
+ <a name="M000032"></a>
<div class="method-heading">
- <a href="Utils.src/M000068.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000068.html');return false;">
+ <a href="Utils.src/M000032.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000032.html');return false;">
<span class="method-name">cacheloader</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
<p>
-#== <a href="Utils.html#M000068">cacheloader</a> #=== A utility method to
+#== <a href="Utils.html#M000032">cacheloader</a> #=== A utility method to
add cache control to images, styles and files To add a cache control, edit
the configuration file ‘cachehints.txt’ with filename and
header. Here is a ample configuration:
</p>
<p>
@@ -291,15 +291,15 @@
end
</pre>
</div>
</div>
- <div id="method-M000072" class="method-detail">
- <a name="M000072"></a>
+ <div id="method-M000036" class="method-detail">
+ <a name="M000036"></a>
<div class="method-heading">
- <a href="Utils.src/M000072.html" target="Code" class="method-signature"
- onclick="popupCode('Utils.src/M000072.html');return false;">
+ <a href="Utils.src/M000036.html" target="Code" class="method-signature"
+ onclick="popupCode('Utils.src/M000036.html');return false;">
<span class="method-name">logHeaders</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
\ No newline at end of file