Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/admin/admin_events_handler.php
Show First 20 Lines • Show All 955 Lines • ▼ Show 20 Line(s) | |||||
protected function OnSaveMenuFrameWidth(kEvent $event) | protected function OnSaveMenuFrameWidth(kEvent $event) | ||||
{ | { | ||||
$event->status = kEvent::erSTOP; | $event->status = kEvent::erSTOP; | ||||
if ( !$this->Application->ConfigValue('ResizableFrames') ) { | if ( !$this->Application->ConfigValue('ResizableFrames') ) { | ||||
return; | return; | ||||
} | } | ||||
$this->Application->SetConfigValue('MenuFrameWidth', (int)$this->Application->GetVar('width')); | $this->Application->StorePersistentVar('MenuFrameWidth', (int)$this->Application->GetVar('width')); | ||||
} | } | ||||
/** | /** | ||||
* Retrieves data from memory cache | * Retrieves data from memory cache | ||||
* | * | ||||
* @param kEvent $event | * @param kEvent $event | ||||
* @return void | * @return void | ||||
* @access protected | * @access protected | ||||
▲ Show 20 Lines • Show All 279 Lines • Show Last 20 Lines |