ui_bibz 2.0.0.alpha10 → 2.0.0.alpha11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -7
- data/app/assets/stylesheets/table.sass +2 -0
- data/app/assets/stylesheets/ui_bibz.sass +0 -2
- data/lib/ui_bibz/ui/core/alert.rb +4 -4
- data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +2 -2
- data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -2
- data/lib/ui_bibz/ui/core/button/button.rb +10 -10
- data/lib/ui_bibz/ui/core/button/button_choice.rb +5 -5
- data/lib/ui_bibz/ui/core/button/button_dropdown.rb +3 -3
- data/lib/ui_bibz/ui/core/button/button_group.rb +5 -1
- data/lib/ui_bibz/ui/core/button/button_link.rb +2 -2
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +5 -5
- data/lib/ui_bibz/ui/core/card/card.rb +4 -4
- data/lib/ui_bibz/ui/core/card/components/block/card_block_text.rb +1 -1
- data/lib/ui_bibz/ui/core/component.rb +7 -7
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +2 -2
- data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +6 -6
- data/lib/ui_bibz/ui/core/glyph.rb +3 -3
- data/lib/ui_bibz/ui/core/input/autocomplete_field.rb +7 -1
- data/lib/ui_bibz/ui/core/input/dropdown_select_field.rb +2 -2
- data/lib/ui_bibz/ui/core/input/formula_field.rb +1 -1
- data/lib/ui_bibz/ui/core/input/multi_select_field.rb +2 -2
- data/lib/ui_bibz/ui/core/input/surround_field.rb +9 -1
- data/lib/ui_bibz/ui/core/input/switch_field.rb +4 -4
- data/lib/ui_bibz/ui/core/label.rb +4 -4
- data/lib/ui_bibz/ui/core/list/components/list.rb +7 -7
- data/lib/ui_bibz/ui/core/list/list_group.rb +5 -5
- data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +2 -2
- data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +3 -3
- data/lib/ui_bibz/ui/core/nav/components/nav_link_link.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/nav.rb +1 -1
- data/lib/ui_bibz/ui/core/nav/navbar.rb +3 -3
- data/lib/ui_bibz/ui/core/progress.rb +5 -5
- data/lib/ui_bibz/ui/core/stars.rb +3 -3
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/components/as.rb +8 -4
- data/lib/ui_bibz/ui/ux/table/components/column.rb +17 -16
- data/lib/ui_bibz/ui/ux/table/components/thead.rb +4 -4
- data/lib/ui_bibz/ui/ux/table/table.rb +8 -8
- data/lib/ui_bibz/ui/ux/table/table_card.rb +4 -4
- data/lib/ui_bibz/version.rb +1 -1
- data/test/dummy/db/schema.rb +1 -1
- data/test/ui/breadcrumb_test.rb +2 -2
- data/test/ui/button_test.rb +24 -24
- data/test/ui/card_test.rb +5 -5
- data/test/ui/component_test.rb +2 -2
- data/test/ui/dropdown_test.rb +1 -1
- data/test/ui/input_switch_field_test.rb +3 -3
- data/test/ui/inputs_test.rb +5 -5
- data/test/ui/list_group_test.rb +5 -5
- data/test/ui/nav_test.rb +3 -3
- data/test/ui/stars_test.rb +2 -2
- data/test/ui/table_test.rb +7 -7
- data/test/ui_helper_test.rb +16 -16
- data/ui_bibz.gemspec +2 -2
- metadata +5 -109
- data/doc/UiBibz.html +0 -129
- data/doc/UiBibz/Concerns.html +0 -115
- data/doc/UiBibz/Concerns/Models.html +0 -115
- data/doc/UiBibz/Concerns/Models/Searchable.html +0 -120
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +0 -174
- data/doc/UiBibz/Helpers.html +0 -115
- data/doc/UiBibz/Helpers/MetaHelper.html +0 -273
- data/doc/UiBibz/Helpers/UiCoreHelper.html +0 -1234
- data/doc/UiBibz/Helpers/UiUxHelper.html +0 -463
- data/doc/UiBibz/Helpers/UtilsHelper.html +0 -187
- data/doc/UiBibz/Rails.html +0 -115
- data/doc/UiBibz/Rails/Engine.html +0 -123
- data/doc/UiBibz/Ui.html +0 -119
- data/doc/UiBibz/Ui/Base.html +0 -304
- data/doc/UiBibz/Ui/Core.html +0 -128
- data/doc/UiBibz/Ui/Core/Alert.html +0 -383
- data/doc/UiBibz/Ui/Core/Bar.html +0 -372
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +0 -442
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +0 -369
- data/doc/UiBibz/Ui/Core/Button.html +0 -380
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +0 -401
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +0 -372
- data/doc/UiBibz/Ui/Core/ButtonLink.html +0 -382
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +0 -403
- data/doc/UiBibz/Ui/Core/Col.html +0 -373
- data/doc/UiBibz/Ui/Core/Component.html +0 -1087
- data/doc/UiBibz/Ui/Core/Dropdown.html +0 -663
- data/doc/UiBibz/Ui/Core/DropdownDivider.html +0 -301
- data/doc/UiBibz/Ui/Core/DropdownHeader.html +0 -355
- data/doc/UiBibz/Ui/Core/DropdownLink.html +0 -376
- data/doc/UiBibz/Ui/Core/DropdownList.html +0 -382
- data/doc/UiBibz/Ui/Core/Glyph.html +0 -385
- data/doc/UiBibz/Ui/Core/Jumbotron.html +0 -379
- data/doc/UiBibz/Ui/Core/Label.html +0 -379
- data/doc/UiBibz/Ui/Core/List.html +0 -528
- data/doc/UiBibz/Ui/Core/ListGroup.html +0 -474
- data/doc/UiBibz/Ui/Core/Modal.html +0 -543
- data/doc/UiBibz/Ui/Core/ModalBody.html +0 -353
- data/doc/UiBibz/Ui/Core/ModalFooter.html +0 -353
- data/doc/UiBibz/Ui/Core/ModalHeader.html +0 -359
- data/doc/UiBibz/Ui/Core/Nav.html +0 -515
- data/doc/UiBibz/Ui/Core/NavDropdown.html +0 -391
- data/doc/UiBibz/Ui/Core/NavLink.html +0 -364
- data/doc/UiBibz/Ui/Core/Navbar.html +0 -646
- data/doc/UiBibz/Ui/Core/NavbarForm.html +0 -364
- data/doc/UiBibz/Ui/Core/NavbarNav.html +0 -302
- data/doc/UiBibz/Ui/Core/NavbarText.html +0 -355
- data/doc/UiBibz/Ui/Core/Panel.html +0 -617
- data/doc/UiBibz/Ui/Core/ProgressBar.html +0 -462
- data/doc/UiBibz/Ui/Core/Row.html +0 -350
- data/doc/UiBibz/Ui/Core/Stars.html +0 -371
- data/doc/UiBibz/Ui/Ux.html +0 -128
- data/doc/UiBibz/Ui/Ux/Actionable.html +0 -478
- data/doc/UiBibz/Ui/Ux/Actions.html +0 -602
- data/doc/UiBibz/Ui/Ux/Column.html +0 -1249
- data/doc/UiBibz/Ui/Ux/Columns.html +0 -338
- data/doc/UiBibz/Ui/Ux/Grid.html +0 -485
- data/doc/UiBibz/Ui/Ux/Paginable.html +0 -381
- data/doc/UiBibz/Ui/Ux/Searchable.html +0 -376
- data/doc/UiBibz/Ui/Ux/Sortable.html +0 -300
- data/doc/UiBibz/Ui/Ux/Store.html +0 -1176
- data/doc/UiBibz/Ui/Ux/Table.html +0 -694
- data/doc/UiBibz/Ui/Ux/TableAction.html +0 -309
- data/doc/UiBibz/Ui/Ux/TablePagination.html +0 -342
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +0 -348
- data/doc/UiBibz/Ui/Ux/TablePanel.html +0 -680
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +0 -304
- data/doc/UiBibz/Utils.html +0 -115
- data/doc/UiBibz/Utils/Internationalization.html +0 -262
- data/doc/_index.html +0 -706
- data/doc/class_list.html +0 -58
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -339
- data/doc/file.README.html +0 -1261
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/images/alert.png +0 -0
- data/doc/images/breadcrumb.png +0 -0
- data/doc/images/button.png +0 -0
- data/doc/images/button_dropdown.png +0 -0
- data/doc/images/button_group.png +0 -0
- data/doc/images/button_link.png +0 -0
- data/doc/images/button_split_dropdown.png +0 -0
- data/doc/images/etiquette.png +0 -0
- data/doc/images/glyph.png +0 -0
- data/doc/images/list.png +0 -0
- data/doc/images/modal.png +0 -0
- data/doc/images/nav.png +0 -0
- data/doc/images/navbar.png +0 -0
- data/doc/images/panel.png +0 -0
- data/doc/images/progress_bar.png +0 -0
- data/doc/images/stars.png +0 -0
- data/doc/images/table.png +0 -0
- data/doc/images/table_pagination_per_page.png +0 -0
- data/doc/images/table_panel.png +0 -0
- data/doc/images/table_search_field.png +0 -0
- data/doc/images/ui-bibz-logo-without-border.gif +0 -0
- data/doc/images/ui-bibz-logo.gif +0 -0
- data/doc/index.html +0 -1261
- data/doc/js/app.js +0 -219
- data/doc/js/full_list.js +0 -181
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1329
- data/doc/top-level-namespace.html +0 -112
@@ -1,300 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: UiBibz::Ui::Ux::Sortable
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.6
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!UiBibz/Ui/Ux/Sortable.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../../../_index.html">Index (S)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> » <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> » <span class='title'><span class='object_link'><a href="../Ux.html" title="UiBibz::Ui::Ux (module)">Ux</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Sortable</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../../../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../../../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: UiBibz::Ui::Ux::Sortable
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></li>
|
82
|
-
|
83
|
-
<li class="next">UiBibz::Ui::Ux::Sortable</li>
|
84
|
-
|
85
|
-
</ul>
|
86
|
-
<a href="#" class="inheritanceTree">show all</a>
|
87
|
-
|
88
|
-
</dd>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<dt class="r2 last">Defined in:</dt>
|
99
|
-
<dd class="r2 last">lib/ui_bibz/ui/ux/table/extensions/sortable.rb</dd>
|
100
|
-
|
101
|
-
</dl>
|
102
|
-
<div class="clear"></div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<h2>Instance Attribute Summary</h2>
|
111
|
-
|
112
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
113
|
-
<p class="inherited"><span class='object_link'><a href="../Base.html#output_buffer-instance_method" title="UiBibz::Ui::Base#output_buffer (method)">#output_buffer</a></span></p>
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<h2>
|
118
|
-
Instance Method Summary
|
119
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
120
|
-
</h2>
|
121
|
-
|
122
|
-
<ul class="summary">
|
123
|
-
|
124
|
-
<li class="public ">
|
125
|
-
<span class="summary_signature">
|
126
|
-
|
127
|
-
<a href="#header-instance_method" title="#header (instance method)">- (Object) <strong>header</strong>(column, name = nil) </a>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
</span>
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
<span class="summary_desc"><div class='inline'>
|
142
|
-
<p>header use i18n.</p>
|
143
|
-
</div></span>
|
144
|
-
|
145
|
-
</li>
|
146
|
-
|
147
|
-
|
148
|
-
<li class="public ">
|
149
|
-
<span class="summary_signature">
|
150
|
-
|
151
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Sortable) <strong>initialize</strong>(store, options) </a>
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
</span>
|
156
|
-
|
157
|
-
|
158
|
-
<span class="note title constructor">constructor</span>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
<span class="summary_desc"><div class='inline'>
|
168
|
-
<p>A new instance of Sortable.</p>
|
169
|
-
</div></span>
|
170
|
-
|
171
|
-
</li>
|
172
|
-
|
173
|
-
|
174
|
-
</ul>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
|
187
|
-
<p class="inherited"><span class='object_link'><a href="../Base.html#i18n_set%3F-instance_method" title="UiBibz::Ui::Base#i18n_set? (method)">#i18n_set?</a></span></p>
|
188
|
-
|
189
|
-
<div id="constructor_details" class="method_details_list">
|
190
|
-
<h2>Constructor Details</h2>
|
191
|
-
|
192
|
-
<div class="method_details first">
|
193
|
-
<h3 class="signature first" id="initialize-instance_method">
|
194
|
-
|
195
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Ux::Sortable (class)">Sortable</a></span></tt>) <strong>initialize</strong>(store, options)
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
</h3><div class="docstring">
|
202
|
-
<div class="discussion">
|
203
|
-
|
204
|
-
<p>Returns a new instance of Sortable</p>
|
205
|
-
|
206
|
-
|
207
|
-
</div>
|
208
|
-
</div>
|
209
|
-
<div class="tags">
|
210
|
-
|
211
|
-
|
212
|
-
</div><table class="source_code">
|
213
|
-
<tr>
|
214
|
-
<td>
|
215
|
-
<pre class="lines">
|
216
|
-
|
217
|
-
|
218
|
-
4
|
219
|
-
5
|
220
|
-
6
|
221
|
-
7</pre>
|
222
|
-
</td>
|
223
|
-
<td>
|
224
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/sortable.rb', line 4</span>
|
225
|
-
|
226
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_store'>store</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
|
227
|
-
<span class='ivar'>@store</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span>
|
228
|
-
<span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
|
229
|
-
<span class='kw'>end</span></pre>
|
230
|
-
</td>
|
231
|
-
</tr>
|
232
|
-
</table>
|
233
|
-
</div>
|
234
|
-
|
235
|
-
</div>
|
236
|
-
|
237
|
-
|
238
|
-
<div id="instance_method_details" class="method_details_list">
|
239
|
-
<h2>Instance Method Details</h2>
|
240
|
-
|
241
|
-
|
242
|
-
<div class="method_details first">
|
243
|
-
<h3 class="signature first" id="header-instance_method">
|
244
|
-
|
245
|
-
- (<tt>Object</tt>) <strong>header</strong>(column, name = nil)
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
</h3><div class="docstring">
|
252
|
-
<div class="discussion">
|
253
|
-
|
254
|
-
<p>header use i18n</p>
|
255
|
-
|
256
|
-
|
257
|
-
</div>
|
258
|
-
</div>
|
259
|
-
<div class="tags">
|
260
|
-
|
261
|
-
|
262
|
-
</div><table class="source_code">
|
263
|
-
<tr>
|
264
|
-
<td>
|
265
|
-
<pre class="lines">
|
266
|
-
|
267
|
-
|
268
|
-
10
|
269
|
-
11
|
270
|
-
12
|
271
|
-
13
|
272
|
-
14
|
273
|
-
15</pre>
|
274
|
-
</td>
|
275
|
-
<td>
|
276
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/extensions/sortable.rb', line 10</span>
|
277
|
-
|
278
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span> <span class='id identifier rubyid_column'>column</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
279
|
-
<span class='ivar'>@column</span> <span class='op'>=</span> <span class='id identifier rubyid_column'>column</span>
|
280
|
-
<span class='id identifier rubyid_defaults'>defaults</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_translate_headers_by_defaults'>translate_headers_by_defaults</span><span class='comma'>,</span> <span class='id identifier rubyid_translate_headers_by_defaults_active_record'>translate_headers_by_defaults_active_record</span><span class='comma'>,</span> <span class='id identifier rubyid_translate_headers_by_active_record'>translate_headers_by_active_record</span><span class='comma'>,</span> <span class='id identifier rubyid_header_name'>header_name</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span><span class='rbracket'>]</span>
|
281
|
-
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Utils</span><span class='op'>::</span><span class='const'>Internationalization</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_translate_headers_by_model'>translate_headers_by_model</span><span class='comma'>,</span> <span class='label'>default:</span> <span class='id identifier rubyid_defaults'>defaults</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_translate'>translate</span>
|
282
|
-
<span class='id identifier rubyid_sortable?'>sortable?</span> <span class='op'>?</span> <span class='id identifier rubyid_sortable_link'>sortable_link</span> <span class='op'>:</span> <span class='id identifier rubyid_title'>title</span>
|
283
|
-
<span class='kw'>end</span></pre>
|
284
|
-
</td>
|
285
|
-
</tr>
|
286
|
-
</table>
|
287
|
-
</div>
|
288
|
-
|
289
|
-
</div>
|
290
|
-
|
291
|
-
</div>
|
292
|
-
|
293
|
-
<div id="footer">
|
294
|
-
Generated on Mon Oct 19 15:25:16 2015 by
|
295
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
296
|
-
0.8.7.6 (ruby-2.2.3).
|
297
|
-
</div>
|
298
|
-
|
299
|
-
</body>
|
300
|
-
</html>
|
data/doc/UiBibz/Ui/Ux/Store.html
DELETED
@@ -1,1176 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: UiBibz::Ui::Ux::Store
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.7.6
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!UiBibz/Ui/Ux/Store.html";
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../../../_index.html">Index (S)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../../UiBibz.html" title="UiBibz (module)">UiBibz</a></span></span> » <span class='title'><span class='object_link'><a href="../../Ui.html" title="UiBibz::Ui (module)">Ui</a></span></span> » <span class='title'><span class='object_link'><a href="../Ux.html" title="UiBibz::Ui::Ux (module)">Ux</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">Store</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../../../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../../../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: UiBibz::Ui::Ux::Store
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName">Object</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">UiBibz::Ui::Ux::Store</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/ui_bibz/ui/ux/table/components/store.rb</dd>
|
98
|
-
|
99
|
-
</dl>
|
100
|
-
<div class="clear"></div>
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
107
|
-
<ul class="summary">
|
108
|
-
|
109
|
-
<li class="public ">
|
110
|
-
<span class="summary_signature">
|
111
|
-
|
112
|
-
<a href="#records-instance_method" title="#records (instance method)">- (Object) <strong>records</strong> </a>
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
</span>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<span class="summary_desc"><div class='inline'>
|
130
|
-
<p>Returns the value of attribute records.</p>
|
131
|
-
</div></span>
|
132
|
-
|
133
|
-
</li>
|
134
|
-
|
135
|
-
|
136
|
-
</ul>
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
<h2>
|
143
|
-
Instance Method Summary
|
144
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
145
|
-
</h2>
|
146
|
-
|
147
|
-
<ul class="summary">
|
148
|
-
|
149
|
-
<li class="public ">
|
150
|
-
<span class="summary_signature">
|
151
|
-
|
152
|
-
<a href="#action-instance_method" title="#action (instance method)">- (Object) <strong>action</strong> </a>
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
</span>
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
167
|
-
|
168
|
-
</li>
|
169
|
-
|
170
|
-
|
171
|
-
<li class="public ">
|
172
|
-
<span class="summary_signature">
|
173
|
-
|
174
|
-
<a href="#column_id-instance_method" title="#column_id (instance method)">- (Object) <strong>column_id</strong> </a>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
</span>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
189
|
-
|
190
|
-
</li>
|
191
|
-
|
192
|
-
|
193
|
-
<li class="public ">
|
194
|
-
<span class="summary_signature">
|
195
|
-
|
196
|
-
<a href="#columns-instance_method" title="#columns (instance method)">- (Object) <strong>columns</strong> </a>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
</span>
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
211
|
-
|
212
|
-
</li>
|
213
|
-
|
214
|
-
|
215
|
-
<li class="public ">
|
216
|
-
<span class="summary_signature">
|
217
|
-
|
218
|
-
<a href="#controller-instance_method" title="#controller (instance method)">- (Object) <strong>controller</strong> </a>
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
</span>
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
233
|
-
|
234
|
-
</li>
|
235
|
-
|
236
|
-
|
237
|
-
<li class="public ">
|
238
|
-
<span class="summary_signature">
|
239
|
-
|
240
|
-
<a href="#current_page-instance_method" title="#current_page (instance method)">- (Object) <strong>current_page</strong> </a>
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
</span>
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
255
|
-
|
256
|
-
</li>
|
257
|
-
|
258
|
-
|
259
|
-
<li class="public ">
|
260
|
-
<span class="summary_signature">
|
261
|
-
|
262
|
-
<a href="#direction-instance_method" title="#direction (instance method)">- (Object) <strong>direction</strong> </a>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
</span>
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
277
|
-
|
278
|
-
</li>
|
279
|
-
|
280
|
-
|
281
|
-
<li class="public ">
|
282
|
-
<span class="summary_signature">
|
283
|
-
|
284
|
-
<a href="#id-instance_method" title="#id (instance method)">- (Object) <strong>id</strong> </a>
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
</span>
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
299
|
-
|
300
|
-
</li>
|
301
|
-
|
302
|
-
|
303
|
-
<li class="public ">
|
304
|
-
<span class="summary_signature">
|
305
|
-
|
306
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Store) <strong>initialize</strong>(store) </a>
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
</span>
|
311
|
-
|
312
|
-
|
313
|
-
<span class="note title constructor">constructor</span>
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
<span class="summary_desc"><div class='inline'>
|
323
|
-
<p>Store Use WillPaginate store methods.</p>
|
324
|
-
</div></span>
|
325
|
-
|
326
|
-
</li>
|
327
|
-
|
328
|
-
|
329
|
-
<li class="public ">
|
330
|
-
<span class="summary_signature">
|
331
|
-
|
332
|
-
<a href="#limit_value-instance_method" title="#limit_value (instance method)">- (Object) <strong>limit_value</strong> </a>
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
</span>
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
347
|
-
|
348
|
-
</li>
|
349
|
-
|
350
|
-
|
351
|
-
<li class="public ">
|
352
|
-
<span class="summary_signature">
|
353
|
-
|
354
|
-
<a href="#model-instance_method" title="#model (instance method)">- (Object) <strong>model</strong> </a>
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
</span>
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
369
|
-
|
370
|
-
</li>
|
371
|
-
|
372
|
-
|
373
|
-
<li class="public ">
|
374
|
-
<span class="summary_signature">
|
375
|
-
|
376
|
-
<a href="#param_id-instance_method" title="#param_id (instance method)">- (Object) <strong>param_id</strong> </a>
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
</span>
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
391
|
-
|
392
|
-
</li>
|
393
|
-
|
394
|
-
|
395
|
-
<li class="public ">
|
396
|
-
<span class="summary_signature">
|
397
|
-
|
398
|
-
<a href="#parameters-instance_method" title="#parameters (instance method)">- (Object) <strong>parameters</strong> </a>
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
</span>
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
413
|
-
|
414
|
-
</li>
|
415
|
-
|
416
|
-
|
417
|
-
<li class="public ">
|
418
|
-
<span class="summary_signature">
|
419
|
-
|
420
|
-
<a href="#per_page-instance_method" title="#per_page (instance method)">- (Object) <strong>per_page</strong> </a>
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
</span>
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
435
|
-
|
436
|
-
</li>
|
437
|
-
|
438
|
-
|
439
|
-
<li class="public ">
|
440
|
-
<span class="summary_signature">
|
441
|
-
|
442
|
-
<a href="#search-instance_method" title="#search (instance method)">- (Object) <strong>search</strong> </a>
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
</span>
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
457
|
-
|
458
|
-
</li>
|
459
|
-
|
460
|
-
|
461
|
-
<li class="public ">
|
462
|
-
<span class="summary_signature">
|
463
|
-
|
464
|
-
<a href="#searchable_attributes-instance_method" title="#searchable_attributes (instance method)">- (Object) <strong>searchable_attributes</strong> </a>
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
</span>
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
479
|
-
|
480
|
-
</li>
|
481
|
-
|
482
|
-
|
483
|
-
<li class="public ">
|
484
|
-
<span class="summary_signature">
|
485
|
-
|
486
|
-
<a href="#sort-instance_method" title="#sort (instance method)">- (Object) <strong>sort</strong> </a>
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
</span>
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
501
|
-
|
502
|
-
</li>
|
503
|
-
|
504
|
-
|
505
|
-
<li class="public ">
|
506
|
-
<span class="summary_signature">
|
507
|
-
|
508
|
-
<a href="#total_entries-instance_method" title="#total_entries (instance method)">- (Object) <strong>total_entries</strong> </a>
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
</span>
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
523
|
-
|
524
|
-
</li>
|
525
|
-
|
526
|
-
|
527
|
-
<li class="public ">
|
528
|
-
<span class="summary_signature">
|
529
|
-
|
530
|
-
<a href="#total_pages-instance_method" title="#total_pages (instance method)">- (Object) <strong>total_pages</strong> </a>
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
</span>
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
545
|
-
|
546
|
-
</li>
|
547
|
-
|
548
|
-
|
549
|
-
</ul>
|
550
|
-
|
551
|
-
|
552
|
-
<div id="constructor_details" class="method_details_list">
|
553
|
-
<h2>Constructor Details</h2>
|
554
|
-
|
555
|
-
<div class="method_details first">
|
556
|
-
<h3 class="signature first" id="initialize-instance_method">
|
557
|
-
|
558
|
-
- (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Ux::Store (class)">Store</a></span></tt>) <strong>initialize</strong>(store)
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
</h3><div class="docstring">
|
565
|
-
<div class="discussion">
|
566
|
-
|
567
|
-
<p>Store Use WillPaginate store methods</p>
|
568
|
-
|
569
|
-
|
570
|
-
</div>
|
571
|
-
</div>
|
572
|
-
<div class="tags">
|
573
|
-
|
574
|
-
|
575
|
-
</div><table class="source_code">
|
576
|
-
<tr>
|
577
|
-
<td>
|
578
|
-
<pre class="lines">
|
579
|
-
|
580
|
-
|
581
|
-
9
|
582
|
-
10
|
583
|
-
11
|
584
|
-
12
|
585
|
-
13</pre>
|
586
|
-
</td>
|
587
|
-
<td>
|
588
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 9</span>
|
589
|
-
|
590
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_store'>store</span>
|
591
|
-
<span class='ivar'>@records</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span><span class='period'>.</span><span class='id identifier rubyid_records'>records</span>
|
592
|
-
<span class='ivar'>@store</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span>
|
593
|
-
<span class='ivar'>@model</span> <span class='op'>=</span> <span class='id identifier rubyid_store'>store</span><span class='period'>.</span><span class='id identifier rubyid_model'>model</span>
|
594
|
-
<span class='kw'>end</span></pre>
|
595
|
-
</td>
|
596
|
-
</tr>
|
597
|
-
</table>
|
598
|
-
</div>
|
599
|
-
|
600
|
-
</div>
|
601
|
-
|
602
|
-
<div id="instance_attr_details" class="attr_details">
|
603
|
-
<h2>Instance Attribute Details</h2>
|
604
|
-
|
605
|
-
|
606
|
-
<span id="records=-instance_method"></span>
|
607
|
-
<div class="method_details first">
|
608
|
-
<h3 class="signature first" id="records-instance_method">
|
609
|
-
|
610
|
-
- (<tt>Object</tt>) <strong>records</strong>
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
</h3><div class="docstring">
|
617
|
-
<div class="discussion">
|
618
|
-
|
619
|
-
<p>Returns the value of attribute records</p>
|
620
|
-
|
621
|
-
|
622
|
-
</div>
|
623
|
-
</div>
|
624
|
-
<div class="tags">
|
625
|
-
|
626
|
-
|
627
|
-
</div><table class="source_code">
|
628
|
-
<tr>
|
629
|
-
<td>
|
630
|
-
<pre class="lines">
|
631
|
-
|
632
|
-
|
633
|
-
6
|
634
|
-
7
|
635
|
-
8</pre>
|
636
|
-
</td>
|
637
|
-
<td>
|
638
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 6</span>
|
639
|
-
|
640
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_records'>records</span>
|
641
|
-
<span class='ivar'>@records</span>
|
642
|
-
<span class='kw'>end</span></pre>
|
643
|
-
</td>
|
644
|
-
</tr>
|
645
|
-
</table>
|
646
|
-
</div>
|
647
|
-
|
648
|
-
</div>
|
649
|
-
|
650
|
-
|
651
|
-
<div id="instance_method_details" class="method_details_list">
|
652
|
-
<h2>Instance Method Details</h2>
|
653
|
-
|
654
|
-
|
655
|
-
<div class="method_details first">
|
656
|
-
<h3 class="signature first" id="action-instance_method">
|
657
|
-
|
658
|
-
- (<tt>Object</tt>) <strong>action</strong>
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
</h3><table class="source_code">
|
665
|
-
<tr>
|
666
|
-
<td>
|
667
|
-
<pre class="lines">
|
668
|
-
|
669
|
-
|
670
|
-
75
|
671
|
-
76
|
672
|
-
77</pre>
|
673
|
-
</td>
|
674
|
-
<td>
|
675
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 75</span>
|
676
|
-
|
677
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_action'>action</span>
|
678
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_action'>action</span>
|
679
|
-
<span class='kw'>end</span></pre>
|
680
|
-
</td>
|
681
|
-
</tr>
|
682
|
-
</table>
|
683
|
-
</div>
|
684
|
-
|
685
|
-
<div class="method_details ">
|
686
|
-
<h3 class="signature " id="column_id-instance_method">
|
687
|
-
|
688
|
-
- (<tt>Object</tt>) <strong>column_id</strong>
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
</h3><table class="source_code">
|
695
|
-
<tr>
|
696
|
-
<td>
|
697
|
-
<pre class="lines">
|
698
|
-
|
699
|
-
|
700
|
-
35
|
701
|
-
36
|
702
|
-
37</pre>
|
703
|
-
</td>
|
704
|
-
<td>
|
705
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 35</span>
|
706
|
-
|
707
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_column_id'>column_id</span>
|
708
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_column_id'>column_id</span>
|
709
|
-
<span class='kw'>end</span></pre>
|
710
|
-
</td>
|
711
|
-
</tr>
|
712
|
-
</table>
|
713
|
-
</div>
|
714
|
-
|
715
|
-
<div class="method_details ">
|
716
|
-
<h3 class="signature " id="columns-instance_method">
|
717
|
-
|
718
|
-
- (<tt>Object</tt>) <strong>columns</strong>
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
</h3><table class="source_code">
|
725
|
-
<tr>
|
726
|
-
<td>
|
727
|
-
<pre class="lines">
|
728
|
-
|
729
|
-
|
730
|
-
55
|
731
|
-
56
|
732
|
-
57</pre>
|
733
|
-
</td>
|
734
|
-
<td>
|
735
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 55</span>
|
736
|
-
|
737
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_columns'>columns</span>
|
738
|
-
<span class='ivar'>@columns</span> <span class='op'>||=</span> <span class='const'>Columns</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='id identifier rubyid_model'>model</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_attributes'>attributes</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_record'>record</span><span class='op'>|</span> <span class='const'>Column</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_record'>record</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>name:</span> <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_humanize'>humanize</span> <span class='rbrace'>}</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
739
|
-
<span class='kw'>end</span></pre>
|
740
|
-
</td>
|
741
|
-
</tr>
|
742
|
-
</table>
|
743
|
-
</div>
|
744
|
-
|
745
|
-
<div class="method_details ">
|
746
|
-
<h3 class="signature " id="controller-instance_method">
|
747
|
-
|
748
|
-
- (<tt>Object</tt>) <strong>controller</strong>
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
</h3><table class="source_code">
|
755
|
-
<tr>
|
756
|
-
<td>
|
757
|
-
<pre class="lines">
|
758
|
-
|
759
|
-
|
760
|
-
67
|
761
|
-
68
|
762
|
-
69</pre>
|
763
|
-
</td>
|
764
|
-
<td>
|
765
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 67</span>
|
766
|
-
|
767
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_controller'>controller</span>
|
768
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_controller'>controller</span>
|
769
|
-
<span class='kw'>end</span></pre>
|
770
|
-
</td>
|
771
|
-
</tr>
|
772
|
-
</table>
|
773
|
-
</div>
|
774
|
-
|
775
|
-
<div class="method_details ">
|
776
|
-
<h3 class="signature " id="current_page-instance_method">
|
777
|
-
|
778
|
-
- (<tt>Object</tt>) <strong>current_page</strong>
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
</h3><table class="source_code">
|
785
|
-
<tr>
|
786
|
-
<td>
|
787
|
-
<pre class="lines">
|
788
|
-
|
789
|
-
|
790
|
-
47
|
791
|
-
48
|
792
|
-
49</pre>
|
793
|
-
</td>
|
794
|
-
<td>
|
795
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 47</span>
|
796
|
-
|
797
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_current_page'>current_page</span>
|
798
|
-
<span class='ivar'>@records</span><span class='period'>.</span><span class='id identifier rubyid_current_page'>current_page</span>
|
799
|
-
<span class='kw'>end</span></pre>
|
800
|
-
</td>
|
801
|
-
</tr>
|
802
|
-
</table>
|
803
|
-
</div>
|
804
|
-
|
805
|
-
<div class="method_details ">
|
806
|
-
<h3 class="signature " id="direction-instance_method">
|
807
|
-
|
808
|
-
- (<tt>Object</tt>) <strong>direction</strong>
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
</h3><table class="source_code">
|
815
|
-
<tr>
|
816
|
-
<td>
|
817
|
-
<pre class="lines">
|
818
|
-
|
819
|
-
|
820
|
-
39
|
821
|
-
40
|
822
|
-
41</pre>
|
823
|
-
</td>
|
824
|
-
<td>
|
825
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 39</span>
|
826
|
-
|
827
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_direction'>direction</span>
|
828
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_direction'>direction</span>
|
829
|
-
<span class='kw'>end</span></pre>
|
830
|
-
</td>
|
831
|
-
</tr>
|
832
|
-
</table>
|
833
|
-
</div>
|
834
|
-
|
835
|
-
<div class="method_details ">
|
836
|
-
<h3 class="signature " id="id-instance_method">
|
837
|
-
|
838
|
-
- (<tt>Object</tt>) <strong>id</strong>
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
</h3><table class="source_code">
|
845
|
-
<tr>
|
846
|
-
<td>
|
847
|
-
<pre class="lines">
|
848
|
-
|
849
|
-
|
850
|
-
27
|
851
|
-
28
|
852
|
-
29</pre>
|
853
|
-
</td>
|
854
|
-
<td>
|
855
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 27</span>
|
856
|
-
|
857
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_id'>id</span>
|
858
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span>
|
859
|
-
<span class='kw'>end</span></pre>
|
860
|
-
</td>
|
861
|
-
</tr>
|
862
|
-
</table>
|
863
|
-
</div>
|
864
|
-
|
865
|
-
<div class="method_details ">
|
866
|
-
<h3 class="signature " id="limit_value-instance_method">
|
867
|
-
|
868
|
-
- (<tt>Object</tt>) <strong>limit_value</strong>
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
</h3><table class="source_code">
|
875
|
-
<tr>
|
876
|
-
<td>
|
877
|
-
<pre class="lines">
|
878
|
-
|
879
|
-
|
880
|
-
51
|
881
|
-
52
|
882
|
-
53</pre>
|
883
|
-
</td>
|
884
|
-
<td>
|
885
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 51</span>
|
886
|
-
|
887
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_limit_value'>limit_value</span>
|
888
|
-
<span class='ivar'>@records</span><span class='period'>.</span><span class='id identifier rubyid_limit_value'>limit_value</span>
|
889
|
-
<span class='kw'>end</span></pre>
|
890
|
-
</td>
|
891
|
-
</tr>
|
892
|
-
</table>
|
893
|
-
</div>
|
894
|
-
|
895
|
-
<div class="method_details ">
|
896
|
-
<h3 class="signature " id="model-instance_method">
|
897
|
-
|
898
|
-
- (<tt>Object</tt>) <strong>model</strong>
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
</h3><table class="source_code">
|
905
|
-
<tr>
|
906
|
-
<td>
|
907
|
-
<pre class="lines">
|
908
|
-
|
909
|
-
|
910
|
-
59
|
911
|
-
60
|
912
|
-
61</pre>
|
913
|
-
</td>
|
914
|
-
<td>
|
915
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 59</span>
|
916
|
-
|
917
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_model'>model</span>
|
918
|
-
<span class='ivar'>@model</span>
|
919
|
-
<span class='kw'>end</span></pre>
|
920
|
-
</td>
|
921
|
-
</tr>
|
922
|
-
</table>
|
923
|
-
</div>
|
924
|
-
|
925
|
-
<div class="method_details ">
|
926
|
-
<h3 class="signature " id="param_id-instance_method">
|
927
|
-
|
928
|
-
- (<tt>Object</tt>) <strong>param_id</strong>
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
</h3><table class="source_code">
|
935
|
-
<tr>
|
936
|
-
<td>
|
937
|
-
<pre class="lines">
|
938
|
-
|
939
|
-
|
940
|
-
79
|
941
|
-
80
|
942
|
-
81</pre>
|
943
|
-
</td>
|
944
|
-
<td>
|
945
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 79</span>
|
946
|
-
|
947
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_param_id'>param_id</span>
|
948
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_param_id'>param_id</span>
|
949
|
-
<span class='kw'>end</span></pre>
|
950
|
-
</td>
|
951
|
-
</tr>
|
952
|
-
</table>
|
953
|
-
</div>
|
954
|
-
|
955
|
-
<div class="method_details ">
|
956
|
-
<h3 class="signature " id="parameters-instance_method">
|
957
|
-
|
958
|
-
- (<tt>Object</tt>) <strong>parameters</strong>
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
</h3><table class="source_code">
|
965
|
-
<tr>
|
966
|
-
<td>
|
967
|
-
<pre class="lines">
|
968
|
-
|
969
|
-
|
970
|
-
71
|
971
|
-
72
|
972
|
-
73</pre>
|
973
|
-
</td>
|
974
|
-
<td>
|
975
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 71</span>
|
976
|
-
|
977
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_parameters'>parameters</span>
|
978
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_try'>try</span><span class='lparen'>(</span><span class='symbol'>:params</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
979
|
-
<span class='kw'>end</span></pre>
|
980
|
-
</td>
|
981
|
-
</tr>
|
982
|
-
</table>
|
983
|
-
</div>
|
984
|
-
|
985
|
-
<div class="method_details ">
|
986
|
-
<h3 class="signature " id="per_page-instance_method">
|
987
|
-
|
988
|
-
- (<tt>Object</tt>) <strong>per_page</strong>
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
</h3><table class="source_code">
|
995
|
-
<tr>
|
996
|
-
<td>
|
997
|
-
<pre class="lines">
|
998
|
-
|
999
|
-
|
1000
|
-
19
|
1001
|
-
20
|
1002
|
-
21</pre>
|
1003
|
-
</td>
|
1004
|
-
<td>
|
1005
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 19</span>
|
1006
|
-
|
1007
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_per_page'>per_page</span>
|
1008
|
-
<span class='ivar'>@records</span><span class='period'>.</span><span class='id identifier rubyid_per_page'>per_page</span>
|
1009
|
-
<span class='kw'>end</span></pre>
|
1010
|
-
</td>
|
1011
|
-
</tr>
|
1012
|
-
</table>
|
1013
|
-
</div>
|
1014
|
-
|
1015
|
-
<div class="method_details ">
|
1016
|
-
<h3 class="signature " id="search-instance_method">
|
1017
|
-
|
1018
|
-
- (<tt>Object</tt>) <strong>search</strong>
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
</h3><table class="source_code">
|
1025
|
-
<tr>
|
1026
|
-
<td>
|
1027
|
-
<pre class="lines">
|
1028
|
-
|
1029
|
-
|
1030
|
-
63
|
1031
|
-
64
|
1032
|
-
65</pre>
|
1033
|
-
</td>
|
1034
|
-
<td>
|
1035
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 63</span>
|
1036
|
-
|
1037
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_search'>search</span>
|
1038
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_search'>search</span>
|
1039
|
-
<span class='kw'>end</span></pre>
|
1040
|
-
</td>
|
1041
|
-
</tr>
|
1042
|
-
</table>
|
1043
|
-
</div>
|
1044
|
-
|
1045
|
-
<div class="method_details ">
|
1046
|
-
<h3 class="signature " id="searchable_attributes-instance_method">
|
1047
|
-
|
1048
|
-
- (<tt>Object</tt>) <strong>searchable_attributes</strong>
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
</h3><table class="source_code">
|
1055
|
-
<tr>
|
1056
|
-
<td>
|
1057
|
-
<pre class="lines">
|
1058
|
-
|
1059
|
-
|
1060
|
-
43
|
1061
|
-
44
|
1062
|
-
45</pre>
|
1063
|
-
</td>
|
1064
|
-
<td>
|
1065
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 43</span>
|
1066
|
-
|
1067
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_searchable_attributes'>searchable_attributes</span>
|
1068
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_searchable_attributes'>searchable_attributes</span>
|
1069
|
-
<span class='kw'>end</span></pre>
|
1070
|
-
</td>
|
1071
|
-
</tr>
|
1072
|
-
</table>
|
1073
|
-
</div>
|
1074
|
-
|
1075
|
-
<div class="method_details ">
|
1076
|
-
<h3 class="signature " id="sort-instance_method">
|
1077
|
-
|
1078
|
-
- (<tt>Object</tt>) <strong>sort</strong>
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
</h3><table class="source_code">
|
1085
|
-
<tr>
|
1086
|
-
<td>
|
1087
|
-
<pre class="lines">
|
1088
|
-
|
1089
|
-
|
1090
|
-
31
|
1091
|
-
32
|
1092
|
-
33</pre>
|
1093
|
-
</td>
|
1094
|
-
<td>
|
1095
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 31</span>
|
1096
|
-
|
1097
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_sort'>sort</span>
|
1098
|
-
<span class='ivar'>@store</span><span class='period'>.</span><span class='id identifier rubyid_sort'>sort</span>
|
1099
|
-
<span class='kw'>end</span></pre>
|
1100
|
-
</td>
|
1101
|
-
</tr>
|
1102
|
-
</table>
|
1103
|
-
</div>
|
1104
|
-
|
1105
|
-
<div class="method_details ">
|
1106
|
-
<h3 class="signature " id="total_entries-instance_method">
|
1107
|
-
|
1108
|
-
- (<tt>Object</tt>) <strong>total_entries</strong>
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
</h3><table class="source_code">
|
1115
|
-
<tr>
|
1116
|
-
<td>
|
1117
|
-
<pre class="lines">
|
1118
|
-
|
1119
|
-
|
1120
|
-
23
|
1121
|
-
24
|
1122
|
-
25</pre>
|
1123
|
-
</td>
|
1124
|
-
<td>
|
1125
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 23</span>
|
1126
|
-
|
1127
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_total_entries'>total_entries</span>
|
1128
|
-
<span class='ivar'>@records</span><span class='period'>.</span><span class='id identifier rubyid_total_entries'>total_entries</span>
|
1129
|
-
<span class='kw'>end</span></pre>
|
1130
|
-
</td>
|
1131
|
-
</tr>
|
1132
|
-
</table>
|
1133
|
-
</div>
|
1134
|
-
|
1135
|
-
<div class="method_details ">
|
1136
|
-
<h3 class="signature " id="total_pages-instance_method">
|
1137
|
-
|
1138
|
-
- (<tt>Object</tt>) <strong>total_pages</strong>
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
</h3><table class="source_code">
|
1145
|
-
<tr>
|
1146
|
-
<td>
|
1147
|
-
<pre class="lines">
|
1148
|
-
|
1149
|
-
|
1150
|
-
15
|
1151
|
-
16
|
1152
|
-
17</pre>
|
1153
|
-
</td>
|
1154
|
-
<td>
|
1155
|
-
<pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/ux/table/components/store.rb', line 15</span>
|
1156
|
-
|
1157
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_total_pages'>total_pages</span>
|
1158
|
-
<span class='ivar'>@records</span><span class='period'>.</span><span class='id identifier rubyid_total_pages'>total_pages</span>
|
1159
|
-
<span class='kw'>end</span></pre>
|
1160
|
-
</td>
|
1161
|
-
</tr>
|
1162
|
-
</table>
|
1163
|
-
</div>
|
1164
|
-
|
1165
|
-
</div>
|
1166
|
-
|
1167
|
-
</div>
|
1168
|
-
|
1169
|
-
<div id="footer">
|
1170
|
-
Generated on Mon Oct 19 15:25:15 2015 by
|
1171
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1172
|
-
0.8.7.6 (ruby-2.2.3).
|
1173
|
-
</div>
|
1174
|
-
|
1175
|
-
</body>
|
1176
|
-
</html>
|