コード例 #1
0
 function auto_id($name)
 {
     return SimpleFixtures::get_auto_id($name);
 }
コード例 #2
0
 public function enqueue_yaml($table, $yaml, $options = array())
 {
     $this->php_env = isset($options['php_env']) ? $options['php_env'] : null;
     $ndocs = 0;
     $data = $this->get_yaml_data($yaml);
     if ($ndocs > 1) {
         trigger_error("The YAML file constitutes more than one document; " . "ignoring {$ndocs} surplus docs", E_USER_NOTICE);
     }
     parent::enqueue($table, $data, $options);
 }