Example #1
0
 /**
  * 
  * @param [type] $openid [description]
  *
  * 2015年8月7日01:05:31
  * 
  */
 public function __construct($data = null)
 {
     parent::__construct();
     if (is_array($data)) {
         foreach ($data as $key => $value) {
             $this->{$key} = $value;
         }
     }
     $this->tablename = $this->table_prefix . $this->tablename;
 }
Example #2
0
XSL;
class BClass extends AClass
{
    private function _load_normalization_xsl()
    {
        $this->_normalization_xsl = "<?xml version='1.0' encoding=\"ISO-8859-1\"?>";
    }
    function __construct()
    {
        echo "in Sub class\n";
        parent::__construct();
    }
    function foo()
    {
        return "low";
    }
}
$b = new BClass();
$b->foo();
$a_variable = "some string";
$a_variable = "some string";
$SupportLevelInfo['sla_units'] = $row['default_sla_units'];
$SupportLevelInfo['support_level_description'] = $row['support_level_description'];
$strCollation = "str";
echo '            <th>' . "\n" . '                &nbsp;' . $strCollation . '            </th>' . "\n";
$heredoc = <<<STR
        <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:dt="urn:schemas-microsoft-com:datatypes">
           <xsl:output method="xml" />
           <xsl:template match="/">
STR;
echo $heredoc;