[ticket/13358] Use protected and public keywords where applicable

PHPBB3-13358