Ejemplo n.º 1
0
 public function initialize()
 {
     //Colors:
     $this->stdout->styles('green', array('text' => 'green'));
     $this->stdout->styles('red', array('text' => 'red'));
     $this->stdout->styles('yellow', array('text' => 'yellow'));
     //Custom layout files
     $this->layout_files = array('fixed' => '' . APP::pluginPath('BootstrapCake') . 'View' . DS . 'Layouts' . DS . 'fixed.ctp', 'fluid' => '' . APP::pluginPath('BootstrapCake') . 'View' . DS . 'Layouts' . DS . 'fluid.ctp');
     //App layout folder:
     $this->layout_folder = '' . APP . 'View' . DS . 'Layouts' . DS;
 }
Ejemplo n.º 2
0
 private function setupFolders()
 {
     //App:
     $this->app_css_folder = new Folder('' . CSS . 'twitter' . DS . 'bootstrap', true, 0755);
     $this->app_img_folder = new Folder('' . IMAGES . 'twitter' . DS . 'bootstrap', true, 0755);
     $this->app_js_folder = new Folder('' . JS . 'twitter' . DS . 'bootstrap', true, 0755);
     //Plugin:
     $this->plugin_css_folder = new Folder('' . APP::pluginPath('BootstrapCake') . 'webroot' . DS . 'css' . DS . 'twitter' . DS . 'bootstrap');
     $this->plugin_js_folder = new Folder('' . APP::pluginPath('BootstrapCake') . 'webroot' . DS . 'js' . DS . 'twitter' . DS . 'bootstrap');
     $this->plugin_img_folder = new Folder('' . APP::pluginPath('BootstrapCake') . 'webroot' . DS . 'img' . DS . 'twitter' . DS . 'bootstrap');
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->path = APP::pluginPath('I18nJs');
 }