Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 50 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. @@ -41,10 +41,20 @@ class ContentController extends Controller {
  2.         $this->dataRecord = $dataRecord;
  3.         $this->failover = $this->dataRecord;
  4.         parent::__construct();
  5.     }
  6.    
  7. +   /**
  8. +    * Return the link to this controller, but force the expanded link to be returned so that form methods and
  9. +    * similar will function properly.
  10. +    *
  11. +    * @return string
  12. +    */
  13. +   public function Link($action = null) {
  14. +       return $this->data()->Link(($action ? $action : true));
  15. +   }
  16. +  
  17.     //----------------------------------------------------------------------------------//
  18.     // These flexible data methods remove the need for custom code to do simple stuff
  19.    
  20.     /**
  21.      * Return the children of a given page. The parent reference can either be a page link or an ID.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top