Download the PHP package samsonos/cms_api without Composer
On this page you can find all versions of the php package samsonos/cms_api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download samsonos/cms_api
More information about samsonos/cms_api
Files in samsonos/cms_api
Download samsonos/cms_api
More information about samsonos/cms_api
Files in samsonos/cms_api
Vendor samsonos
Package cms_api
Short Description SamsonCMS API module
License Open Software License (OSL) v 3.0
Homepage http://samsonos.com/
Package cms_api
Short Description SamsonCMS API module
License Open Software License (OSL) v 3.0
Homepage http://samsonos.com/
Please rate this library. Is it a good library?
Informations about the package cms_api
SamsonCMS API
This is core classes to interact with SamsonCMS database structure
Read module documentation:
Class Filter
This class has static methods to work with filter
table. They are:
- createFilter() method allows you to create new row in
filter
table; - resetFilters() method generates new filters from
materialfield
table. It takes only records which have filter type. Filter type can de set by CMS or directly infield
table.
Also it has inner collection of 'filter' class objects and some methods to work with them.
- Method add() takes filter identifier as parameter and adds this filter to the collection.
- getFiltersByField() method has 1 input value: filtered field identifier. It returns array of filters related to this field.
- performFilters() method searches for suitable results, performing all filters which are in collection.
The result is array of materials, it can be get by setting first parameter of this function.
Other parameters are:
- Structures which result materials should belong to;
- External handler name. It will be called before SQL query will execute.
- External handler parameters array, this parameters will be added to query, which is first parameter of external handler function, and filters array, which is second parameter. That's the main info about this class!
All versions of cms_api with dependencies
PHP Build Version
Package Version
Requires
samsonframework/collection Version
*
samsonos/php_activerecord Version *
samsonos/php_pager Version *
samsonos/php_activerecord Version *
samsonos/php_pager Version *
The package samsonos/cms_api contains the following files
Loading the files please wait ....