Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Introduction

ESearch provides an action and some default views for search and order by relevance in MySQL without FULLTEXT.

Flattr this git repo

Documentation

###Requirements

  • Yii 1.0 or above
  • MySQL 5.0 or above
  • PHP 5.2

###Installation

  • Extract the release file under protected/extensions/esearch

###Usage

[php]
//controllers/SiteController.php

	public function actions(){
		return array(
			// ...
			'search'=>array(
                            'class'=>'ext.esearch.SearchAction',
                            'model'=>'Post',
							'attributes'=>array('title', 'tags', 'content'),
                        )
  		);
  	}

[php]
//views/layout/main.php
 	$this->widget('ext.search.SearchBoxPortlet');
//or
 	SearchAction::renderInputBox();
//or
 	$this->renderPartial('extensions/esearch/views/inputBox.php');
[php]
'import'=>array(
		// ...
        'ext.esearch.*',
),

About

ESearch is a Yii Framework extension that provides an action and some default views for search and order by relevance in MySQL without FULLTEXT.

Resources

Languages

You can’t perform that action at this time.