Rename all models

This commit is contained in:
Frederic Guillot
2016-05-28 19:48:22 -04:00
parent 936376ffe7
commit 14713b0ec7
411 changed files with 4145 additions and 4156 deletions

View File

@@ -22,7 +22,7 @@ class DateHelper extends Base
*/
public function time($value)
{
return date($this->config->get('application_time_format', 'H:i'), $value);
return date($this->configModel->get('application_time_format', 'H:i'), $value);
}
/**
@@ -42,7 +42,7 @@ class DateHelper extends Base
$value = strtotime($value);
}
return date($this->config->get('application_date_format', 'm/d/Y'), $value);
return date($this->configModel->get('application_date_format', 'm/d/Y'), $value);
}
/**
@@ -54,7 +54,7 @@ class DateHelper extends Base
*/
public function datetime($value)
{
return date($this->config->get('application_datetime_format', 'm/d/Y H:i'), $value);
return date($this->configModel->get('application_datetime_format', 'm/d/Y H:i'), $value);
}
/**