示例#1
0
 /**
  * Construct the prototype for rows.
  *
  * @return object
  */
 protected function initializeRowPrototype()
 {
     $prototype = parent::initializeRowPrototype();
     $prototype->setConfig($this->config);
     if (null !== $this->session && is_callable([$prototype, 'setSession'])) {
         $prototype->setSession($this->session);
     }
     return $prototype;
 }
示例#2
0
 /**
  * Construct the prototype for rows.
  *
  * @return object
  */
 protected function initializeRowPrototype()
 {
     $prototype = parent::initializeRowPrototype();
     $prototype->setSession($this->session);
     return $prototype;
 }