Example #1
0
 public function setOptsForPages()
 {
     $GA = GreenArrow::greenArrow();
     echo "\n--------------------------------------------------------";
     echo "\nWhere should I get pages from?\n" . "\n[ 1 ] {$GA} curl pages list from website" . "\n[ 2 ] {$GA} use file 'pages.txt'" . "\n[ 3 ] {$GA} use both: curl & 'pages.txt'\n";
     $optsForPages = readline("Your choice: ");
     readline_add_history($optsForPages);
     echo "--------------------------------------------------------";
     return self::$optsForPages = $optsForPages;
 }