Skip to content

Instantly share code, notes, and snippets.

@hotpocket
Created July 1, 2014 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hotpocket/c23aea4025114b51289c to your computer and use it in GitHub Desktop.
Save hotpocket/c23aea4025114b51289c to your computer and use it in GitHub Desktop.
style pref. reformat
<?php
function usersearchAction(){
$result = $this->_helperUser->searchAction(
$this->_getParam('query'),
Zend_Json::decode($this->_getParam('option', '[]')),
$this->getDbSearchQuery();
);
$this->setData($result)->setSuccess(true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment