Example #1
0
 /**
  * Stores own values in addition to children values in associative array that
  * can be stored in Wordpress database.
  * 
  * @return array $result		Array of options to store in database.
  * @access public
  */
 function store()
 {
     $result = array();
     $result[$this->_name] = $this->_value;
     $result = array_merge(parent::store(), $result);
     return $result;
 }
 /**
  * Stores own values in addition to selected childrens values in associative 
  * array that can be stored in Wordpress database.
  * 
  * @return array $result		Array of options to store in database.
  * @access public
  */
 function store()
 {
     $result = array();
     $result[$this->_name] = $this->getValue();
     $result = array_merge($result, parent::store());
     return $result;
 }