Exemple #1
0
	/**
	 * Loads a corresponding DM with the fields it needs to express the current
	 * values.
	 *
	 * @param vB_DM $dm							- The DM to give the existing values to.
	 */
	public function loadDM(vB_DM $dm)
	{
		$this->Load($this->dm_load_flags);

		$dm->setExistingFields($this->item_properties, $this);
	}
Exemple #2
0
 /**
  * Loads a corresponding DM with the fields it needs to express the current
  * values.
  *
  * @param vB_DM $dm							- The DM to give the existing values to.
  */
 public function loadDM(vB_DM $dm)
 {
     $this->Load($this->dm_load_flags);
     // using $this->getProperties() because the intended use of setExistingFields() is to send the actual property values themselves to populate the DM with existing data.
     $dm->setExistingFields($this->getProperties(), $this);
 }