Example #1
0
 /**
  * Get Data from all controls of this section
  *
  * @since 1.0.0
  * @see \uix\load
  * @return array Array of sections data structured by the controls
  */
 public function get_data()
 {
     if (empty($this->data)) {
         $data = parent::get_data();
         if (!empty($data[$this->slug])) {
             $this->data = $data[$this->slug];
         }
     }
     return $this->data;
 }