<?php/** * Created by PhpStorm. * User: Zip * Date: 14/12/16 * Time: 下午12:57 */namespaceHood\Helper\View;classViewAbstract{protected$_item=array();protected$enc='UTF-8';protected$conditional='';protected$_target_conditional=array();protectedfunction_escape($string){returnhtmlspecialchars((string)$string,ENT_COMPAT,$this->enc);}}