Exemplo n.º 1
0
 public function viewECCObject()
 {
     $ECCTemplate = ECCTemplate::instance('admin');
     $ECCTemplate->display(strtolower('pages/cms.html.twig'), ['object' => (array) $this->ECCObject, 'object_id' => $this->ECCObject->ECCObjectID, 'data' => $this->ECCObject->ECCModule->data, 'current_user' => []]);
 }
Exemplo n.º 2
0
 public function login()
 {
     $ECCTemplate = ECCTemplate::instance('admin');
     $ECCTemplate->display('user/login.html.twig', ['current_user' => []]);
 }