You are here

function UCXF_Field::from_array in Extra Fields Checkout Pane 6.2

Same name and namespace in other branches
  1. 7 class/UCXF_Field.class.php \UCXF_Field::from_array()

Load an existing item from an array. @access public

Parameters

array $p_aParams:

1 call to UCXF_Field::from_array()
UCXF_Field::edit_form_submit in class/UCXF_Field.class.php
Submit the edit form for the item.

File

class/UCXF_Field.class.php, line 147
Contains the UCXF_Field class.

Class

UCXF_Field
Base class for a Extra Fields Pane field

Code

function from_array($p_aParams) {
  foreach ($p_aParams as $sKey => $mValue) {
    $this
      ->__set($sKey, $mValue);
  }
}