/** * constructor * * @param string|Charcoal_String $app_name application name * @param string|Charcoal_String $project_name project name * @param string|Charcoal_String $target_dir target directory */ public function __construct($app_name, $project_name, $target_dir) { parent::__construct(); $this->app_name = us($app_name); $this->project_name = us($project_name); $this->target_dir = us($target_dir); }
/** * constructor * * @param string|Charcoal_String $database database name * @param string|Charcoal_String $table table name * @param string|Charcoal_String $target_dir target directory */ public function __construct($database, $table, $target_dir) { parent::__construct(); $this->database = us($database); $this->table = us($table); $this->target_dir = us($target_dir); }
/** * constructor * * @param string|Charcoal_String $task_name task name * @param string|Charcoal_String $module_name module path * @param string|Charcoal_String $app_name application name * @param string|Charcoal_String $project_name project name * @param string|Charcoal_String $target_dir target directory */ public function __construct($task_name, $module_path, $app_name, $project_name, $target_dir) { parent::__construct(); $this->task_name = us($task_name); $this->module_path = us($module_path); $this->app_name = us($app_name); $this->project_name = us($project_name); $this->target_dir = us($target_dir); }
/** * Initialize instance * * @param Charcoal_Config $config configuration data */ public function configure($config) { parent::configure($config); $config->set(s('priority'), Charcoal_EnumEventPriority::SYSTEM); }
/** * constructor * * @param string|Charcoal_String $database database name */ public function __construct($database) { parent::__construct(); $this->database = us($database); }