/**
  * Get the assets of the current group
  *
  * @return array
  */
 protected function getAssets()
 {
     $assetsCollection = AssetModel::findBy('pid', $this->model->id, array('order' => 'sorting'));
     if ($assetsCollection === null) {
         return array();
     }
     $assets = array();
     foreach ($assetsCollection as $assetModel) {
         $asset = AssetsManager::getAssetByModel($assetModel);
         if ($asset === null) {
             continue;
         }
         $assets[] = $asset;
     }
     return $assets;
 }