Lines Matching defs:opts
58 $opts = $options->getArgs();
59 $clopts = $this->get_commandLineOptions($opts);
63 $this->raw_commandLineOpts($opts, $clopts);
67 $opts = $options->getArgs();
68 $clopts = $this->get_commandLineOptions($opts, 1);
72 $this->raw_commandLineOpts($opts, $clopts);
84 function get_commandLineOptions($opts, $config = false)
86 if (function_exists('is_countable') && !is_countable($opts)) return;
94 $ini = array_shift($opts);
95 } else $page = array_shift($opts);
96 for ($i = 0; $i < count($opts); $i++) {
97 $cl_switch = trim($opts[$i], '-');
101 $usrrepl = $opts[$i + 1];
105 $tmpl = $opts[$i + 1];
109 $user = $opts[$i + 1];
113 $user = $opts[$i + 1];
117 $screen = $opts[$i + 1];
121 $nosave = $opts[$i + 1];
138 public function raw_commandLineOpts($opts = "", $clopts = "", $dbg = false)
143 print_r($opts);