コード例 #1
0
 public function getChildren()
 {
     $nodes = array();
     foreach (M::scandir($this->path) as $node) {
         if ($node != '.' && $node != '..') {
             $nodes[] = $this->getChild($node);
         }
     }
     return $nodes;
 }