This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function actionSearch($q=''){ | |
| $q = addcslashes($q, '%_'); | |
| $criteria1 = new CDbCriteria; | |
| $criteria1->addCondition("first_name LIKE :first_name", 'OR'); | |
| $criteria1->addCondition('last_name LIKE :last_name', 'OR'); | |
| $criteria1->params = array(':first_name'=>"%$q%", ':last_name'=>"%$q%"); | |
| $members = Members::model()->findAll($criteria1); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Easy Digital Downloads - PayPal Handling Fee | |
| * Description: Adds a handling fee to EDD purchases that go through PayPal | |
| * Author: Pippin Williamson | |
| * Author URI: http://pippinsplugins.com | |
| * Contributors: mordauk | |
| * Version: 1.0 | |
| */ |