Пример #1
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['rel_structures_matfinss_list'])) {
         $this->setDefault('rel_structures_matfinss_list', $this->object->RelStructuresMatfinss->getPrimaryKeys());
     }
 }
  public function updateDefaultsFromObject()
  {
    parent::updateDefaultsFromObject();

    if (isset($this->widgetSchema['groups_list']))
    {
      $this->setDefault('groups_list', $this->object->Groups->getPrimaryKeys());
    }

    if (isset($this->widgetSchema['permissions_list']))
    {
      $this->setDefault('permissions_list', $this->object->Permissions->getPrimaryKeys());
    }

    if (isset($this->widgetSchema['proyectos_list']))
    {
      $this->setDefault('proyectos_list', $this->object->Proyectos->getPrimaryKeys());
    }

    if (isset($this->widgetSchema['versiones_list']))
    {
      $this->setDefault('versiones_list', $this->object->Versiones->getPrimaryKeys());
    }

  }
Пример #3
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['ls_list_list'])) {
         $values = array();
         foreach ($this->object->LsList as $obj) {
             $values[] = current($obj->identifier());
         }
         $this->object->clearRelated('LsList');
         $this->setDefault('ls_list_list', $values);
     }
     if (isset($this->widgetSchema['industry_list'])) {
         $values = array();
         foreach ($this->object->Industry as $obj) {
             $values[] = current($obj->identifier());
         }
         $this->object->clearRelated('Industry');
         $this->setDefault('industry_list', $values);
     }
     if (isset($this->widgetSchema['lobby_filing_list'])) {
         $values = array();
         foreach ($this->object->LobbyFiling as $obj) {
             $values[] = current($obj->identifier());
         }
         $this->object->clearRelated('LobbyFiling');
         $this->setDefault('lobby_filing_list', $values);
     }
 }
Пример #4
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['sf_guard_user_profile_list'])) {
         $this->setDefault('sf_guard_user_profile_list', $this->object->sfGuardUserProfile->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['sf_guard_permission_list'])) {
         $this->setDefault('sf_guard_permission_list', $this->object->sfGuardPermission->getPrimaryKeys());
     }
 }
  public function updateDefaultsFromObject()
  {
    parent::updateDefaultsFromObject();

    if (isset($this->widgetSchema['dance_styles_list']))
    {
      $this->setDefault('dance_styles_list', $this->object->DanceStyles->getPrimaryKeys());
    }

    if (isset($this->widgetSchema['tracks_list']))
    {
      $this->setDefault('tracks_list', $this->object->Tracks->getPrimaryKeys());
    }

    if (isset($this->widgetSchema['classes_list']))
    {
      $this->setDefault('classes_list', $this->object->Classes->getPrimaryKeys());
    }

    if (isset($this->widgetSchema['lessons_list']))
    {
      $this->setDefault('lessons_list', $this->object->Lessons->getPrimaryKeys());
    }

  }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['petition_signing_list'])) {
         $this->setDefault('petition_signing_list', $this->object->PetitionSigning->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['tipoingrediente_list'])) {
         $this->setDefault('tipoingrediente_list', $this->object->Tipoingrediente->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['kernbegrip_list'])) {
         $this->setDefault('kernbegrip_list', $this->object->Kernbegrip->getPrimaryKeys());
     }
 }
Пример #10
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['rel_matge_meos_list'])) {
         $this->setDefault('rel_matge_meos_list', $this->object->RelMatgeMeos->getPrimaryKeys());
     }
 }
Пример #11
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['media_items_list'])) {
         $this->setDefault('media_items_list', $this->object->MediaItems->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['jobeet_affiliates_list'])) {
         $this->setDefault('jobeet_affiliates_list', $this->object->JobeetAffiliates->getPrimaryKeys());
     }
 }
Пример #13
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['translation_list'])) {
         $this->setDefault('translation_list', array_merge((array) $this->getDefault('translation_list'), $this->object->Translation->getPrimaryKeys()));
     }
 }
Пример #14
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['organization_list'])) {
         $this->setDefault('organization_list', $this->object->Organization->getPrimaryKeys());
     }
 }
Пример #15
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['rel_ident_perspectives_list'])) {
         $this->setDefault('rel_ident_perspectives_list', $this->object->RelIdentPerspectives->getPrimaryKeys());
     }
 }
Пример #16
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['dm_test_post_list'])) {
         $this->setDefault('dm_test_post_list', $this->object->DmTestPost->getPrimaryKeys());
     }
 }
Пример #17
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['plugins_list'])) {
         $this->setDefault('plugins_list', $this->object->Plugins->getPrimaryKeys());
     }
 }
Пример #18
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['audio_tracks_list'])) {
         $this->setDefault('audio_tracks_list', $this->object->AudioTracks->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['sub_tracks_list'])) {
         $this->setDefault('sub_tracks_list', $this->object->SubTracks->getPrimaryKeys());
     }
 }
Пример #19
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['charts_list'])) {
         $this->setDefault('charts_list', $this->object->Charts->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['reports_list'])) {
         $this->setDefault('reports_list', $this->object->Reports->getPrimaryKeys());
     }
 }
Пример #20
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['items_list'])) {
         $this->setDefault('items_list', $this->object->Items->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['bitstreams_list'])) {
         $this->setDefault('bitstreams_list', $this->object->Bitstreams->getPrimaryKeys());
     }
 }
Пример #21
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['dm_test_domains_list'])) {
         $this->setDefault('dm_test_domains_list', $this->object->DmTestDomains->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['dm_test_fruits_list'])) {
         $this->setDefault('dm_test_fruits_list', $this->object->DmTestFruits->getPrimaryKeys());
     }
 }
Пример #22
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['formus_list'])) {
         $this->setDefault('formus_list', $this->object->Formus->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['revisions_list'])) {
         $this->setDefault('revisions_list', $this->object->Revisions->getPrimaryKeys());
     }
 }
Пример #23
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['albums_list'])) {
         $this->setDefault('albums_list', $this->object->Albums->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['photos_list'])) {
         $this->setDefault('photos_list', $this->object->Photos->getPrimaryKeys());
     }
 }
  public function updateDefaultsFromObject()
  {
    parent::updateDefaultsFromObject();

    if (isset($this->widgetSchema['class_types_list']))
    {
      $this->setDefault('class_types_list', $this->object->ClassTypes->getPrimaryKeys());
    }

  }
Пример #25
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['categs_list'])) {
         $this->setDefault('categs_list', $this->object->Categs->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['tags_list'])) {
         $this->setDefault('tags_list', $this->object->Tags->getPrimaryKeys());
     }
 }
Пример #26
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['slots_list'])) {
         $this->setDefault('slots_list', $this->object->Slots->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['media_categories_list'])) {
         $this->setDefault('media_categories_list', $this->object->MediaCategories->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['genres_list'])) {
         $this->setDefault('genres_list', $this->object->Genres->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['countries_list'])) {
         $this->setDefault('countries_list', $this->object->Countries->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['assets_list'])) {
         $this->setDefault('assets_list', $this->object->Assets->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['editors_list'])) {
         $this->setDefault('editors_list', $this->object->Editors->getPrimaryKeys());
     }
 }
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['groups_list'])) {
         $this->setDefault('groups_list', $this->object->Groups->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['users_list'])) {
         $this->setDefault('users_list', $this->object->Users->getPrimaryKeys());
     }
 }
Пример #30
0
 public function updateDefaultsFromObject()
 {
     parent::updateDefaultsFromObject();
     if (isset($this->widgetSchema['role_list'])) {
         $this->setDefault('role_list', $this->object->Role->getPrimaryKeys());
     }
     if (isset($this->widgetSchema['entitlement_pack_list'])) {
         $this->setDefault('entitlement_pack_list', $this->object->EntitlementPack->getPrimaryKeys());
     }
 }