コード例 #1
0
 public function __construct($dir, $name)
 {
     parent::__construct($name);
     $this->path = Config::get('view_dir');
     $this->dir = $dir;
     $this->name = $name;
 }
コード例 #2
0
 public function __construct($name, $from = '')
 {
     parent::__construct($name);
     $this->path = Config::get('migr_dir');
     $this->from = $from;
     if ($this->from == 'model') {
         $this->template = $this->table_template;
     }
 }
コード例 #3
0
 public function __construct($name, $from = '')
 {
     parent::__construct($name);
     $this->path = Config::get('model_dir');
 }
コード例 #4
0
 public function __construct($name, $functions = array())
 {
     parent::__construct($name);
     $this->path = Config::get('ctrl_dir');
     $this->functions = $functions;
 }
コード例 #5
0
 /**
  *
  * @param Logger $logger
  * @param Reflection $reflection
  */
 public function __construct(Logger $logger, Reflection $reflection)
 {
     parent::__construct($logger);
     $this->setReflection($reflection);
 }
コード例 #6
0
 public function __construct()
 {
     parent::__construct('application');
     $this->path = Config::get('ctrl_dir');
 }