public function getAllItems() {
    if (version_compare(phpversion(), '5.3.0', '<')) {
      return json_encode($this->m_aItems);
    }
    else {
      return json_encode($this->m_aItems, JSON_UNESCAPED_UNICODE);
    }
  }
public function getAllItems() {
    if (version_compare(phpversion(), '5.3.0', '<')) {
      return json_encode($this->m_aItems);
    }
    else {
      return json_encode($this->m_aItems, JSON_UNESCAPED_UNICODE);
    }
  }
public function getAllItems ( ) { if ( version_compare ( phpversion ( ) , '5.3.0' , '<' ) ) { return json_encode ( $ this -> m_aItems ) ; } else { return json_encode ( $ this -> m_aItems , JSON_UNESCAPED_UNICODE ) ; } }
Returns all items as a JSON string.

@return string JSON encoded item array.
Returns all items as a JSON string .