/**
  * Gets the package items using config.package_item_path as index into data and
  * return a list of CheckfrontItemModels.
  *
  * @return SS_List may be empty
  */
 public function getPackageItems()
 {
     $list = new ArrayList();
     if ($this->isValid()) {
         $path = self::get_config_setting('package_items_path');
         $packageItems = CheckfrontModule::lookup_path($path, $this->data, $found);
         if ($packageItems && $found) {
             foreach ($packageItems as $item) {
                 $list->push(CheckfrontItemModel::create()->fromCheckfront($item));
             }
         }
     }
     return $list;
 }
 /**
  * Find an item in data by a path e.g. 'request.status' or 'item.images.1.src'
  * @param $path
  * @param bool|false $found
  *
  * @return array
  */
 public function path($path, &$found = false)
 {
     return CheckfrontModule::lookup_path($path, $this->data, $found);
 }