[-] Classes : all classes and controllers now use their name in static calls instead of self (improve override) #PSFV-376

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12552 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-19 10:14:10 +00:00
parent 81832703f2
commit 6887541bdd
82 changed files with 432 additions and 431 deletions
@@ -381,12 +381,12 @@ class AdminCustomerThreadsControllerCore extends AdminController
public function initContent()
{
if (isset($_GET['filename']) && file_exists(_PS_UPLOAD_DIR_.$_GET['filename']))
self::openUploadedFile();
AdminCustomerThreadsController::openUploadedFile();
return parent::initContent();
}
private function openUploadedFile()
protected function openUploadedFile()
{
$filename = $_GET['filename'];
@@ -522,7 +522,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
return parent::renderView();
}
private function displayMessage($message, $email = false, $id_employee = null)
protected function displayMessage($message, $email = false, $id_employee = null)
{
$tpl = $this->createTemplate('message.tpl');
@@ -559,7 +559,7 @@ class AdminCustomerThreadsControllerCore extends AdminController
return $tpl->fetch();
}
private function displayButton($content)
protected function displayButton($content)
{
return '
<div style="margin-bottom:10px;border:1px solid #005500;width:200px;height:130px;padding:10px;background:#EFE">