*
* @var array
*/
- private $_items;
+ protected $items;
/**
* Constructor, initialize empty items.
*/
public function __construct() {
- $this->_items = [];
+ $this->items = [];
}
/**
$item->setTranslation(implode(LOCALE_PLURAL_DELIMITER, $item->getTranslation()));
}
$context = $item->getContext();
- $this->_items[$context != NULL ? $context : ''][$item->getSource()] = $item->getTranslation();
+ $this->items[$context != NULL ? $context : ''][$item->getSource()] = $item->getTranslation();
}
/**
* @return array PoItem
*/
public function getData() {
- return $this->_items;
+ return $this->items;
}
/**