filename = $this->getTree()."/profiles/$filename"; $this->mtime = filemtime($this->filename); } function __get($var) { return $this->$var; } function getMaskedPackages() { $arr = file($this->filename, FILE_IGNORE_NEW_LINES); $arr = preg_grep("/(^#|^$)/", $arr, PREG_GREP_INVERT); sort($arr); return $arr; } } ?>