complete some informations in readme file
This commit is contained in:
@@ -35,10 +35,10 @@ Installation
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
$ git clone --recursive https://github.com/thelia/thelia.git
|
$ git clone https://github.com/thelia/thelia.git
|
||||||
$ cd thelia
|
$ cd thelia
|
||||||
$ curl -sS https://getcomposer.org/installer | php
|
$ curl -sS https://getcomposer.org/installer | php
|
||||||
$ php composer.phar install --optimize-autoloader
|
$ php composer.phar install --prefer-dist --optimize-autoloader
|
||||||
```
|
```
|
||||||
|
|
||||||
Finish the installation using cli tools :
|
Finish the installation using cli tools :
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ namespace Thelia\Controller\Admin;
|
|||||||
* @package Thelia\Controller\Admin
|
* @package Thelia\Controller\Admin
|
||||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||||
*/
|
*/
|
||||||
class FolderController extends BaseAdminController
|
class FolderController extends AbstractCrudController
|
||||||
{
|
{
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
@@ -43,4 +43,140 @@ class FolderController extends BaseAdminController
|
|||||||
"folder_id" => $folder_id
|
"folder_id" => $folder_id
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the creation form for this object
|
||||||
|
*/
|
||||||
|
protected function getCreationForm()
|
||||||
|
{
|
||||||
|
// TODO: Implement getCreationForm() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the update form for this object
|
||||||
|
*/
|
||||||
|
protected function getUpdateForm()
|
||||||
|
{
|
||||||
|
// TODO: Implement getUpdateForm() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hydrate the update form for this object, before passing it to the update template
|
||||||
|
*
|
||||||
|
* @param unknown $object
|
||||||
|
*/
|
||||||
|
protected function hydrateObjectForm($object)
|
||||||
|
{
|
||||||
|
// TODO: Implement hydrateObjectForm() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the creation event with the provided form data
|
||||||
|
*
|
||||||
|
* @param unknown $formData
|
||||||
|
*/
|
||||||
|
protected function getCreationEvent($formData)
|
||||||
|
{
|
||||||
|
// TODO: Implement getCreationEvent() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the update event with the provided form data
|
||||||
|
*
|
||||||
|
* @param unknown $formData
|
||||||
|
*/
|
||||||
|
protected function getUpdateEvent($formData)
|
||||||
|
{
|
||||||
|
// TODO: Implement getUpdateEvent() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the delete event with the provided form data
|
||||||
|
*/
|
||||||
|
protected function getDeleteEvent()
|
||||||
|
{
|
||||||
|
// TODO: Implement getDeleteEvent() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return true if the event contains the object, e.g. the action has updated the object in the event.
|
||||||
|
*
|
||||||
|
* @param unknown $event
|
||||||
|
*/
|
||||||
|
protected function eventContainsObject($event)
|
||||||
|
{
|
||||||
|
// TODO: Implement eventContainsObject() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the created object from an event.
|
||||||
|
*
|
||||||
|
* @param unknown $createEvent
|
||||||
|
*/
|
||||||
|
protected function getObjectFromEvent($event)
|
||||||
|
{
|
||||||
|
// TODO: Implement getObjectFromEvent() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load an existing object from the database
|
||||||
|
*/
|
||||||
|
protected function getExistingObject()
|
||||||
|
{
|
||||||
|
// TODO: Implement getExistingObject() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the object label form the object event (name, title, etc.)
|
||||||
|
*
|
||||||
|
* @param unknown $object
|
||||||
|
*/
|
||||||
|
protected function getObjectLabel($object)
|
||||||
|
{
|
||||||
|
// TODO: Implement getObjectLabel() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the object ID from the object
|
||||||
|
*
|
||||||
|
* @param unknown $object
|
||||||
|
*/
|
||||||
|
protected function getObjectId($object)
|
||||||
|
{
|
||||||
|
// TODO: Implement getObjectId() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render the main list template
|
||||||
|
*
|
||||||
|
* @param unknown $currentOrder, if any, null otherwise.
|
||||||
|
*/
|
||||||
|
protected function renderListTemplate($currentOrder)
|
||||||
|
{
|
||||||
|
// TODO: Implement renderListTemplate() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render the edition template
|
||||||
|
*/
|
||||||
|
protected function renderEditionTemplate()
|
||||||
|
{
|
||||||
|
// TODO: Implement renderEditionTemplate() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Redirect to the edition template
|
||||||
|
*/
|
||||||
|
protected function redirectToEditionTemplate()
|
||||||
|
{
|
||||||
|
// TODO: Implement redirectToEditionTemplate() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Redirect to the list template
|
||||||
|
*/
|
||||||
|
protected function redirectToListTemplate()
|
||||||
|
{
|
||||||
|
// TODO: Implement redirectToListTemplate() method.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user