public function __construct(&$rights)
 {
     parent::__construct();
     $this->rights = $rights->EShop;
     if (is_array($this->rights)) {
         $this->read_only = !$this->rights['Write'];
     } else {
         $this->read_only = !$this->rights;
     }
     $this->all_checked = false;
     $this->id = 0;
     $this->title = null;
     $this->auto = true;
     $this->url = null;
     $this->htitle = null;
     $this->description = null;
     $this->icon = null;
     $this->flags = null;
     $this->parent = null;
     $this->record = null;
     $this->products = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->anchor = new CurrentKiwiAnchor();
     $this->grouped_product = null;
 }
 function __construct(&$rights)
 {
     parent::__construct();
     $this->username = '';
     $this->userid = $rights->UserID;
     $page = null;
 }
 public function __construct()
 {
     parent::__construct();
     $this->id = 0;
     $this->data = null;
     $this->ordrows = null;
 }
 function __construct()
 {
     parent::__construct();
     $this->all_checked = false;
     $this->newsgroups = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
 }
 function __construct()
 {
     parent::__construct();
     $this->id = 0;
     $this->data = null;
     $this->lastchange = null;
     $this->read_only = true;
     // docasne
 }
 public function __construct()
 {
     parent::__construct();
     $this->id = 0;
     $this->data = null;
     $this->ordrows = null;
     $this->formdata = array();
     $this->lastchange = null;
 }
 public function __construct()
 {
     parent::__construct();
     $this->read_only = false;
     // todo: Přidat práva - má právo upravovat?
     $this->id = 0;
     $this->pid = 0;
     $this->record = null;
     $this->icon = null;
 }
 public function __construct()
 {
     parent::__construct();
     $this->all_checked = false;
     $this->properties = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->anchor = new CurrentKiwiAnchor();
 }
 public function __construct()
 {
     parent::__construct();
     $this->id = 0;
     $this->data = null;
     $this->ordrows = null;
     $this->formdata = array();
     $this->lastchange = null;
     $this->read_only = false;
     // docasne
 }
 public function __construct()
 {
     parent::__construct();
     $this->all_checked = false;
     $this->orders = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->year = date('Y');
     $this->years = array();
     $this->filter = array();
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $mrights = $rights->EShop;
     if (is_array($mrights)) {
         $this->read_only = !$mrights['Write'];
     } else {
         $this->read_only = !$mrights;
     }
     $this->rates = null;
     $this->lastchange = null;
 }
 function __construct()
 {
     parent::__construct();
     $this->propertyvalue_id = 0;
     $this->product_id = 0;
     $this->photo = null;
     //$this->to_cost = 0;
     $this->read_only = false;
     // přidat práva // změnit na obecnější typ
     $this->eshop_item = false;
     $this->s_eshop_item = false;
     $this->data = null;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $this->rights = $rights;
     if (is_array($rights)) {
         $this->read_only = !$rights['Write'];
     }
     $this->all_checked = false;
     $this->actiongroups = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
 }
 public function __construct()
 {
     parent::__construct();
     $this->all_checked = false;
     $this->clients = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->letter = null;
     // 'A';
     $this->fletters = array();
     $this->filter = array();
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $erights = $rights->EShop;
     if (is_array($erights)) {
         $this->read_only = !$erights['Write'];
     } else {
         $this->read_only = !$erights;
     }
     $this->sendto = '';
     $this->subject = '';
     $this->message = '';
     $this->redirect_to = self::REDIR_SELF;
 }
 public function __construct()
 {
     parent::__construct();
     $this->all_checked = false;
     $this->newsletters = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->anchor = new CurrentKiwiAnchor();
     $this->page = 1;
     $this->total = null;
     $this->sort = array('by' => self::SORT_BY_ALPHABET, 'order' => self::ASCENDING_ORDER);
     $this->filter = array();
 }
 public function __construct()
 {
     parent::__construct();
     $this->read_only = false;
     // todo: Přidat práva - má právo upravovat?
     $this->all_checked = false;
     $this->id = 0;
     $this->record = null;
     $this->values = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->anchor = new CurrentKiwiAnchor();
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $this->rights = $rights->SEO;
     if (is_array($this->rights)) {
         $this->read_only = !$this->rights['Write'];
     } else {
         $this->read_only = !$this->rights;
     }
     $this->all_checked = false;
     $this->catalog_menu = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $mrights = $rights->WWW;
     if (is_array($mrights)) {
         $this->read_only = !$mrights['Write'];
     } else {
         $this->read_only = !$mrights;
     }
     $this->all_checked = false;
     $this->modules = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->menu_item = false;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $nrights = $rights->WWW;
     if (is_array($nrights)) {
         $this->read_only = !$nrights['Write'] && !$nrights['WriteNews'];
     } else {
         $this->read_only = !$nrights;
     }
     $this->all_checked = false;
     $this->ngid = 1;
     $this->ngtitle = '';
     $this->news = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
 }
 function __construct(&$rights)
 {
     parent::__construct();
     $mrights = $rights->WWW;
     if (is_array($mrights)) {
         if (!array_key_exists('EditTextModule', $mrights)) {
             $mrights['EditTextModule'] = false;
         }
         $this->read_only = !($mrights['Write'] || $mrights['EditTextModule']);
     } else {
         $this->read_only = !$mrights;
     }
     $this->id = 0;
     $this->name = null;
     $this->lastchange = null;
     $this->menu_item = false;
     $this->s_menu_item = false;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     if (is_array($rights)) {
         $this->read_only = !$rights['Write'];
     }
     $this->id = 0;
     $this->agid = 1;
     $this->agtitle = null;
     $this->title = null;
     $this->description = null;
     $this->lastchange = null;
     $this->picture = null;
     $this->link = null;
     $this->read_only = false;
     // přidat práva // změnit na obecnější typ
     $this->data = null;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $srights = $rights->SEO;
     if (is_array($srights)) {
         $this->read_only = !$srights['Write'];
     } else {
         $this->read_only = !$srights;
     }
     $this->all_checked = false;
     $this->products = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->letter = null;
     $this->fletters = array();
     $this->page = 1;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $this->rights = $rights;
     if (is_array($this->rights->EShop)) {
         $this->read_only = !$this->rights->EShop['Write'];
     }
     $this->id = 0;
     $this->title = null;
     $this->code = null;
     $this->code_unique = null;
     $this->auto = true;
     $this->url = null;
     $this->htitle = null;
     $this->shortdesc = null;
     $this->longdesc = null;
     $this->lastchange = null;
     $this->collection = null;
     $this->photo = null;
     $this->photo_extra = array();
     $this->photo_illustrative = array();
     $this->original_cost = $this->new_cost = $this->ws_cost = 0.0;
     $this->novelty = $this->action = $this->discount = $this->sellout = 0;
     $this->exposed = 1;
     $this->active = 0;
     $this->read_only = false;
     // přidat práva // změnit na obecnější typ
     $this->eshop_item = false;
     $this->s_eshop_item = false;
     $this->sqs = null;
     $this->content = null;
     $this->data = null;
     $this->propvalues = null;
     $this->properties = array();
     $this->group = null;
     $this->group_name = null;
     $this->grouped_products = 0;
     $this->grouped_product = null;
 }
 public function __construct(&$rights)
 {
     parent::__construct();
     $this->rights = $rights;
     if (is_array($this->rights->WWW)) {
         $this->read_only = !$this->rights->WWW['Write'];
     }
     $this->all_checked = false;
     $this->id = 0;
     $this->title = null;
     $this->start = date('j.n.Y') . ' ' . self::DEFAULT_START_TIME;
     $this->content = null;
     $this->active = 0;
     $this->read_only = false;
     // přidat práva // změnit na obecnější typ
     $this->sqs = null;
     $this->data = null;
     $this->products = null;
     $this->index = array();
     $this->checked = array();
     $this->lastchange = null;
     $this->anchor = new CurrentKiwiAnchor();
 }
Пример #26
0
 public function __construct($page, &$rights)
 {
     parent::__construct();
     $this->page = $page;
     $self = basename($_SERVER['PHP_SELF']);
     if ($rights->UserID != DEFAULT_USERID) {
         if ($self == KIWI_LOGIN) {
             $qs = '?logout';
         } else {
             $qs = '?page=' . urlencode($_SERVER['REQUEST_URI']) . '&logout';
         }
         $login_arr = array('title' => 'Abmelden', 'page' => KIWI_LOGIN . $qs);
     } else {
         if ($self == KIWI_LOGIN) {
             $qs = '';
         } else {
             $qs = '?page=' . urlencode($_SERVER['REQUEST_URI']);
         }
         $login_arr = array('title' => 'Anmelden', 'page' => KIWI_LOGIN . $qs);
     }
     foreach ($this->menu_links_small as &$arr) {
         $arr[] = $login_arr;
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->initialize();
 }
Пример #28
0
 function __construct()
 {
     parent::__construct();
 }