• This project
    • Loading...
  • Sign in

fe / YOHOBUYPC · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 2
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • YOHOBUYPC
  • yaf
  • Hood
  • Helper
  • View
  • ViewAbstract.php
  • code review by fei.hong : do add framework yaf hood
    1a66c670
    by hf
    2016-01-19 20:24:32 +0800  
    Browse Files
ViewAbstract.php 415 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php
/**
 * Created by PhpStorm.
 * User: Zip
 * Date: 14/12/16
 * Time: 下午12:57
 */

namespace Hood\Helper\View;


class ViewAbstract
{
    protected $_item = array();

    protected $enc = 'UTF-8';

    protected $conditional = '';

    protected $_target_conditional = array();

    protected function _escape($string)
    {
        return htmlspecialchars((string)$string, ENT_COMPAT, $this->enc);
    }
}