Quick Installation Guide

To install the extension using the default syntax shown in the introduction, simply:

1. Create a new folder in your extensions directory. This can be named anything you like, but for this guide, we will call the folder advancedFilters.

2. Download and unzip the Advanced Filters extension and copy the files into your new folder. Your folder structure should now look like this:

|- extensions
   |- advancedFilters ← name this anything you like
      |- components
      |- dbhelpers
      |- filters
      |- AdvancedFilters.php
      |- LICENSE
      |- README.md

3. Update your application configuration file to include the following:

'components'=>array(
            Name the application component anything you like
    ...     
    'advancedFilters'=>array(
        'class'=>'ext.advancedFilters.AdvancedFilters',
    ),                       
),                           The folder name created in step 1

NOTE: If you have used a different folder name, ensure that the class path is updated accordingly. You can name the application component anything that you like and it does not have to match the folder name.

View the full guide

License

The Yii Advanced Filters extension is provided under the terms of the MIT License shown below.

The MIT License (MIT)

Copyright (c) 2024 Keith Burton

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Summary
Required
  • Retain license and copyright notice.
Permitted
  • Commercial use.
  • Distribution.
  • Modification.
  • Private use.
  • Sublicensing.
Forbidden
  • Hold liable.