Module: ProMotion::Table::TableClassMethods

Defined in:
lib/ProMotion/table/table.rb

Instance Method Summary collapse

Instance Method Details

#get_indexableObject



311
312
313
# File 'lib/ProMotion/table/table.rb', line 311

def get_indexable
  @indexable ||= false
end

#get_indexable_paramsObject



315
316
317
# File 'lib/ProMotion/table/table.rb', line 315

def get_indexable_params
  @indexable_params ||= nil
end

#get_refreshableObject



297
298
299
# File 'lib/ProMotion/table/table.rb', line 297

def get_refreshable
  @refreshable ||= false
end

#get_refreshable_paramsObject



301
302
303
# File 'lib/ProMotion/table/table.rb', line 301

def get_refreshable_params
  @refreshable_params ||= nil
end

#get_searchableObject



287
288
289
# File 'lib/ProMotion/table/table.rb', line 287

def get_searchable
  @searchable ||= false
end

#get_searchable_paramsObject



283
284
285
# File 'lib/ProMotion/table/table.rb', line 283

def get_searchable_params
  @searchable_params ||= nil
end

#indexable(params = {}) ⇒ Object

Indexable



306
307
308
309
# File 'lib/ProMotion/table/table.rb', line 306

def indexable(params = {})
  @indexable_params = params
  @indexable = true
end

#refreshable(params = {}) ⇒ Object

Refreshable



292
293
294
295
# File 'lib/ProMotion/table/table.rb', line 292

def refreshable(params = {})
  @refreshable_params = params
  @refreshable = true
end

#searchable(params = {}) ⇒ Object

Searchable



278
279
280
281
# File 'lib/ProMotion/table/table.rb', line 278

def searchable(params={})
  @searchable_params = params
  @searchable = true
end

#table_styleObject



273
274
275
# File 'lib/ProMotion/table/table.rb', line 273

def table_style
  UITableViewStylePlain
end