Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function startAt($model, $inclusive = false, $reverse = false)
 {
     if ($model) {
         if (!$model instanceof Model || $model->isValid()) {
             if ($reverse) {
                 $this->end = true;
             } else {
                 $this->start = true;
             }
         }
     }
     return parent::startAt($model, $inclusive, $reverse);
 }