src/actions/AdjacencyList/PartialTreeDataAction.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 85-87 (lines=3) @@
                                 | 
                            
                                                            
                                    | 82 | 
                                     | 
                                            /** @var \yii\db\ActiveRecord $class */  | 
                                
                                                            
                                    | 83 | 
                                     | 
                                            $class = $this->className;  | 
                                
                                                            
                                    | 84 | 
                                     | 
                                     | 
                                
                                                            
                                    | 85 | 
                                     | 
                                            if (null === $current_selected_id = Yii::$app->request->get($this->querySelectedAttribute)) { | 
                                
                                                            
                                    | 86 | 
                                     | 
                                                $current_selected_id = Yii::$app->request->get($this->queryParentAttribute);  | 
                                
                                                            
                                    | 87 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 88 | 
                                     | 
                                     | 
                                
                                                            
                                    | 89 | 
                                     | 
                                            $parent_id = Yii::$app->request->get($this->queryParentAttribute, '#');  | 
                                
                                                            
                                    | 90 | 
                                     | 
                                            if (!is_numeric($parent_id)) { | 
                                
                                                                        
                 
                                                            
                    
src/actions/AdjacencyList/FullTreeDataAction.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 91-93 (lines=3) @@
                                 | 
                            
                                                            
                                    | 88 | 
                                     | 
                                            /** @var \yii\db\ActiveRecord $class */  | 
                                
                                                            
                                    | 89 | 
                                     | 
                                            $class = $this->className;  | 
                                
                                                            
                                    | 90 | 
                                     | 
                                     | 
                                
                                                            
                                    | 91 | 
                                     | 
                                            if (null === $current_selected_id = Yii::$app->request->get($this->querySelectedAttribute)) { | 
                                
                                                            
                                    | 92 | 
                                     | 
                                                $current_selected_id = Yii::$app->request->get($this->queryParentAttribute);  | 
                                
                                                            
                                    | 93 | 
                                     | 
                                            }  | 
                                
                                                            
                                    | 94 | 
                                     | 
                                            $cacheKey = $this->cacheKey instanceof \Closure ? call_user_func($this->cacheKey) : $this->cacheKey;  | 
                                
                                                            
                                    | 95 | 
                                     | 
                                            $cacheKey = "AdjacencyFullTreeData:{$cacheKey}:{$class}:{$this->querySortOrder}"; | 
                                
                                                            
                                    | 96 | 
                                     | 
                                     |