Интерфейс вместо класса Site
This commit is contained in:
parent
c2b9254fd0
commit
df00756a41
5 changed files with 22 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
namespace ctiso;
|
||||
use PHPTAL_Php_TalesInternal,
|
||||
App\Controller\Site,
|
||||
ctiso\Controller\SiteInterface,
|
||||
ctiso\Controller\Component,
|
||||
ctiso\HttpRequest,
|
||||
PHPTAL_Tales,
|
||||
|
|
@ -32,7 +32,7 @@ class Tales_Component implements PHPTAL_Tales
|
|||
}
|
||||
|
||||
class Tales {
|
||||
static /*.Site.*/$site;
|
||||
static /*.SiteInterface.*/$site;
|
||||
|
||||
static function phptal_date ($e) {
|
||||
return date("d.m.Y", $e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue