Maj de bootstrap en V4 finale
Création d'un module à part pour gérer les applications - Ajout de VautMeUp - Préparation de l'appli karting Ajout d'un bloc "Projets personnels"
This commit is contained in:
27
module/CV/src/Controller/IndexController.php
Normal file
27
module/CV/src/Controller/IndexController.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace CV\Controller;
|
||||
|
||||
use Zend\Mvc\Controller\AbstractActionController;
|
||||
use Zend\View\Model\JsonModel;
|
||||
use Zend\View\Model\ViewModel;
|
||||
|
||||
class IndexController extends AbstractActionController
|
||||
{
|
||||
public function indexAction()
|
||||
{ $view = new ViewModel();
|
||||
$view->setTerminal(true);
|
||||
return $view;
|
||||
}
|
||||
|
||||
public function vaultAction()
|
||||
{ $view = new ViewModel();
|
||||
$view->setTerminal(true);
|
||||
return $view;
|
||||
}
|
||||
}
|
16
module/CV/src/Module.php
Normal file
16
module/CV/src/Module.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* @link http://github.com/zendframework/ZendSkeletonModule for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace CV;
|
||||
|
||||
class Module
|
||||
{
|
||||
public function getConfig()
|
||||
{
|
||||
return include __DIR__ . '/../config/module.config.php';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user