Example #1
0
 function __tt780_start($query, $contactTo, $in_configuration)
 {
     if (handler_lend::$trace) {
         var_dump(Handler::__from());
     }
     if (!isset($in_configuration['app'])) {
         $m = 'No hay identificador de aplicacion "app"';
         error_log($query . ": {$m}");
         $this->addError($m);
     }
     $session = session_id();
     //if(!isset(handler_lend::$hl[$query]['log']) && isset($in_configuration['log']) && strpos($in_configuration['log'], 'path:') === 0)
     //    handler_lend::$hl[$query]['log'] = Paths::compose(
     //        handler_lend::$hl[$query]['search'],
     //        substr($in_configuration['log'], 5)
     //    );
     $data = array('app' => $in_configuration['app'], 'session' => $session, 'point' => handler_lend::$hl[$query]['point']);
     Session::setParameter("lender.{$query}", $data);
     handler_lend::__log($query, '__tt780_start');
     return true;
 }
Example #2
0
 function save($id, $to_omit = array(), $life_count = 0)
 {
     if (!Session::$active || !preg_match('/^\\w+$/', $id)) {
         return false;
     }
     return Session::setParameter("restore_{$id}", serialize(HTTPRequest::getContext($to_omit)), $life_count);
 }
Example #3
0
 function set($value, $parameters)
 {
     return Session::setParameter($this->name);
 }