Inital commit
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
namespace Thelia\Files;
|
||||
|
||||
use Propel\Runtime\ActiveQuery\ModelCriteria;
|
||||
use Propel\Runtime\ActiveRecord\ActiveRecordInterface;
|
||||
use Thelia\Core\HttpFoundation\Request;
|
||||
use Thelia\Form\BaseForm;
|
||||
|
||||
@@ -57,14 +56,6 @@ interface FileModelInterface
|
||||
*/
|
||||
public function getUpdateFormId();
|
||||
|
||||
/**
|
||||
* Get the form instance used to change this object information
|
||||
*
|
||||
* @param Request $request the current request
|
||||
*
|
||||
* @return BaseForm the form
|
||||
*/
|
||||
public function getUpdateFormInstance(Request $request);
|
||||
/**
|
||||
* @return string the path to the upload directory where files are stored, without final slash
|
||||
*/
|
||||
@@ -91,7 +82,6 @@ interface FileModelInterface
|
||||
*/
|
||||
public function save();
|
||||
|
||||
|
||||
/**
|
||||
* Delete the model object.
|
||||
*
|
||||
@@ -99,7 +89,6 @@ interface FileModelInterface
|
||||
*/
|
||||
public function delete();
|
||||
|
||||
|
||||
/**
|
||||
* Get the model object ID
|
||||
*
|
||||
@@ -107,7 +96,6 @@ interface FileModelInterface
|
||||
*/
|
||||
public function getId();
|
||||
|
||||
|
||||
/**
|
||||
* Set the current title
|
||||
*
|
||||
@@ -118,7 +106,7 @@ interface FileModelInterface
|
||||
/**
|
||||
* Get the current title
|
||||
*
|
||||
* @param string $title the title in the current locale
|
||||
* @param string $title the title in the current locale
|
||||
* @return FileModelInterface
|
||||
*/
|
||||
public function getTitle();
|
||||
@@ -126,7 +114,7 @@ interface FileModelInterface
|
||||
/**
|
||||
* Set the chapo
|
||||
*
|
||||
* @param string $chapo the chapo in the current locale
|
||||
* @param string $chapo the chapo in the current locale
|
||||
* @return FileModelInterface
|
||||
*/
|
||||
public function setChapo($chapo);
|
||||
@@ -134,7 +122,7 @@ interface FileModelInterface
|
||||
/**
|
||||
* Set the description
|
||||
*
|
||||
* @param string $description the description in the current locale
|
||||
* @param string $description the description in the current locale
|
||||
* @return FileModelInterface
|
||||
*/
|
||||
public function setDescription($description);
|
||||
@@ -142,7 +130,7 @@ interface FileModelInterface
|
||||
/**
|
||||
* Set the postscriptum
|
||||
*
|
||||
* @param string $postscriptum the postscriptum in the current locale
|
||||
* @param string $postscriptum the postscriptum in the current locale
|
||||
* @return FileModelInterface
|
||||
*/
|
||||
public function setPostscriptum($postscriptum);
|
||||
@@ -150,8 +138,16 @@ interface FileModelInterface
|
||||
/**
|
||||
* Set the current locale
|
||||
*
|
||||
* @param string $locale the locale string
|
||||
* @param string $locale the locale string
|
||||
* @return FileModelInterface
|
||||
*/
|
||||
public function setLocale($locale);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the current locale
|
||||
*
|
||||
* @param bool $visible true if the file is visible, false otherwise
|
||||
* @return FileModelInterface
|
||||
*/
|
||||
public function setVisible($visible);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user