brasofilo

WPSE-75230

Dec 6th, 2012
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class PDER_Admin{
  2.        
  3.     function schedule_reminder( $data ){
  4.        
  5.     }
  6. }
  7.  
  8. Class PDER_Base {
  9.    
  10.     public function __construct(){
  11.         $this->admin_init();
  12.     }
  13.    
  14.    
  15.     function admin_init(){
  16.         if( !is_admin() ) return;
  17.        
  18.         $admin = new PDER_Admin;
  19.         $admin->init();
  20.     }
  21.  
  22. }
  23.  
  24. //boot strap
  25. new PDER_Base();
RAW Paste Data