Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×

filter

View Paste
  1. <?php
  2. echo $this->Element('header', array('header_text' => 'Upload Student Results'));
  3. ?>
  4. <div...
View Paste
  1. <?php
  2. // example method in a controller doing a filtered search
  3. private function _getSubscriber...
Filtering using models to stor filter settings. The code is definitely "as is" and not cleand up ...
View Paste
  1.  
  2. case "statusid" : {
  3.     $this->set('statusid', $val);
  4.  
  5.     $conditions[] = array('Order.orderstatu...