make 썸네일형 리스트형 [PHP] Make xml 파일 makePomXml(); } private function makePomXml(){ $this->openURI($this->build_name.'.xml'); $this->setIndent(true); $this->startDocument("1.0", "UTF-8"); $this->startElement("project"); $this->writeAttribute("xmlns", "http://maven.apache.org/POM/4.0.0"); $this->writeAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance"); $this->writeAttribute("xsi:schemaLocation", "http://maven.apache... 더보기 [PHP] Write ini file function write_ini_file($assoc_arr, $path, $has_sections=FALSE) { $content = ""; if ($has_sections) { foreach ($assoc_arr as $key=>$elem) { $content .= "[".$key."]\n"; foreach ($elem as $key2=>$elem2) { if(is_array($elem2)) { for($i=0;$i$elem) { if(is_array($elem)) { for($i=0;$i array( 'first-1' => 1, 'first-2' => 2, 'first-3' => 3, 'first-4' => 4, 'first-5' => 5, ), 'second' => array( 'second-1.. 더보기 이전 1 다음