Singleton instance
Returns an instance of Dms
Singleton pattern implementation
Get document type id one by type name
Create html for admin
Allow variable
$search_type string current search type (id, date, name)
$q - current search query
$order_f - current sort field name (id, date, name)
$order_t - current sort type (asc, desc)
$total - int total found result
$html - all lines html
$pagination - html paginator
Incoming variable
limit - int limit per page
pages - int current page
q - search query
of, ot - sort data
search_type - search data
Save new document in database
Documentation generated on Fri, 19 Aug 2016 17:10:30 +0200 by phpDocumentor 1.4.3