Changeset 9 for trunk/class/Gui.php


Ignore:
Timestamp:
Jun 14, 2012, 12:04:49 AM (12 years ago)
Author:
maron
Message:

přidání odkazu k stránkám, selekce stránek

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/class/Gui.php

    r8 r9  
    1818        $this->Messages = new Messages();
    1919        $this->Language = new Language();
    20         $this->Feedback();
     20       
    2121        $this->InitLinks();
    2222        $this->InitPages();
     23       
     24        //have to be after inicialization of pages
     25        $this->Feedback();
    2326  }
    2427 
     
    3538  }
    3639
     40//gets feedback from post and get
     41  private function Feedback() {
     42        $this->Messages->GetPost();
     43        $this->Messages->GetGet();
     44        $this->ActivePage = $this->Messages->WhichPage($this->Pages);
     45  }       
     46
    3747//shows page concent
    3848  public function ShowPage() {
     
    4555  }
    4656
    47 //gets feedback from post and get
    48   private function Feedback() {
    49         $this->ActivePage = $this->Messages->WhichPage();
    50         $this->Messages->GetPost();
    51         $this->Messages->GetGet();
    52   }
    53          
    5457
    5558//shows header of web page
Note: See TracChangeset for help on using the changeset viewer.