public
Description: Midgard Components Framework 3rd generation
Homepage: http://www.midgard-project.org
Clone URL: git://github.com/bergie/midcom.git
Search Repo:
Added some more documentation for methods
wick3d (author)
Fri Apr 04 01:20:46 -0700 2008
commit  8cac8f42afd8d5390fd1be9e14d7c7f1fb93683c
tree    941a6e37ec98e91ecd69947733e5bd27ddad5910
parent  1fb31cb8a89637c67015ad55b3e11b740eef6f4c
...
48
49
50
51
 
52
53
54
...
63
64
65
66
 
67
68
 
69
70
 
71
72
73
...
76
77
78
79
80
81
82
83
84
85
86
87
...
96
97
98
99
 
 
 
100
101
102
...
114
115
116
117
 
118
119
120
...
48
49
50
 
51
52
53
54
...
63
64
65
 
66
67
 
68
69
 
70
71
72
73
...
76
77
78
 
79
80
81
82
 
83
84
85
...
94
95
96
 
97
98
99
100
101
102
...
114
115
116
 
117
118
119
120
0
@@ -48,7 +48,7 @@ class symlinkStatics extends Task
0
      */
0
     public function main()
0
     {
0
- $folders = $this->getFolders();
0
+ $folders = $this->get_folders();
0
         
0
         foreach ($folders as $component => $folder)
0
         {
0
@@ -63,11 +63,11 @@ class symlinkStatics extends Task
0
     }
0
     
0
   /**
0
- * Iterate over all filesets and return the filename of all files.
0
+ * Iterate over all filesets and return the details of all separate component and their static folder.
0
    *
0
- * @return array an array of (basedir, filenames) pairs
0
+ * @return array an array of (component, static folder) pairs
0
    */
0
- private function getFolders()
0
+ private function get_folders()
0
   {
0
     $folders = array();
0
 
0
@@ -76,12 +76,10 @@ class symlinkStatics extends Task
0
       $ds = $fileset->getDirectoryScanner($this->project);
0
       $ds->scan();
0
 
0
- // $includedFiles = $ds->getIncludedFiles();
0
             $includedFolders = $ds->getIncludedDirectories();
0
             
0
       foreach ($includedFolders as $folder)
0
       {
0
- // $fs = new PhingFile(realpath($ds->getBaseDir()), $file);
0
         $folderparts = explode('/', $folder);
0
         
0
         if (! array_key_exists($folderparts[0], $folders))
0
@@ -96,7 +94,9 @@ class symlinkStatics extends Task
0
   
0
     /**
0
      * Creates a symlink to the file or directory
0
- * @param string paramname
0
+ * @param string from the folder to link
0
+ * @param string link name of the link to be created
0
+ * @param string debug enable output
0
      */
0
     private function make_symlink($from , $link, $debug = false)
0
     {
0
@@ -114,7 +114,7 @@ class symlinkStatics extends Task
0
      * @return none
0
      * @throws exception
0
      * @param string $command the command to be executed
0
- * @param boolean $debug set to true if you want to just se the
0
+ * @param boolean $debug set to true if you want to just see the
0
      * command to be executed.
0
      */
0
     private function exec_command($command, $debug = false) {

Comments

    No one has commented yet.