本文整理汇总了PHP中Zend\Console\Console::isWindows方法的典型用法代码示例。如果您正苦于以下问题:PHP Console::isWindows方法的具体用法?PHP Console::isWindows怎么用?PHP Console::isWindows使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Zend\Console\Console
的用法示例。
在下文中一共展示了Console::isWindows方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: usageAction
public function usageAction()
{
// get run script name
$script = basename($this->request->getScriptName());
if (ConsoleStatic::isWindows()) {
$script .= '.bat';
} else {
$script = './' . $script;
}
$figletText = new Figlet();
$figletText->setFont('/ginosi/backoffice/module/Console/data/fonts/doom.flf');
$asciiGinosi = $figletText->render(' GINOSI');
return <<<USAGE
[0;37m----------------------------------------------------------[0m
{$asciiGinosi}[3;37m ✡ Ginosi Backoffice Console (GBC) ✡ [0m
[0;37m----------------------------------------------------------[0m
[0;37mUsage:[0m
[0;36mginosole[0m [0;35mcurrency show[0m
[0;36mginosole[0m [0;35mreservation-email send-ki --id=4651 -v[0m
[0;36mginosole[0m [0;35m[ --usage | --help | -h ][0m
[0;37mParameters:[0m
[1;33mcurrency show[0m [2;33m- show all currencies[0m
[1;33mcurrency update[0m [2;33m- update currencies[0m
[1;33mcurrency check[0m [2;33m- currency been updated in the last 30 hours? (--nosend)[0m
[1;33mcurrency update-currency-vault[0m [2;33m- grab current currency values and save[0m
[1;33mreservation-email check-review[0m [2;33m- show review for sent (--id=BID|otherwise all)[0m
[1;33mreservation-email send-review[0m [2;33m- send the necessary reviews (--id=BID|otherwise all)[0m
[1;33mreservation-email check-ki[0m [2;33m- show key instructions for sent (--id=BID|otherwise all)[0m
[1;33mreservation-email send-ki[0m [2;33m- send the necessary key instructions (--id=BID|otherwise all) (-bo)[0m
[1;33mreservation-email check-confirmation[0m [2;33m- show info about booking (--id=BID|otherwise all)[0m
[1;33mreservation-email send-guest[0m [2;33m- send reservation mail to Customer --id=BID (-bo)[0m
[1;33mreservation-email send-ginosi[0m [2;33m- send reservation mail to Ginosi --id=BID (--ccp=yes) (-bo)[0m
[1;33mreservation-email send-overbooking[0m [2;33m- check if reservation is overbooking and send email with info --id=BID (--ccp=yes) (-bo)[0m
[1;33mreservation-email send-ccca[0m [2;33m- send CCCA link to a customer [--id=resId] [--ccca_id=CCCAID] [--email=customer email][0m
[1;33mreservation-email show-modification[0m [2;33m- show modification booking --id=BID[0m
[1;33mreservation-email send-update-payment-details-guest[0m [2;33m- send link for input new CC info to Customer --id=BID[0m
[1;33mreservation-email send-payment-details-updated-ginosi[0m [2;33m- send new CC confirmation mail to Ginosi --id=BID --ccp=yes[0m
[1;33mreservation-email send-modification-cancel[0m [2;33m- send cancellation mail to Ginosi and/or Customer if(!over) --id=BID --ginosi --booker[0m
[1;33mreservation-email send-modification-ginosi[0m [2;33m- send modification mail to Ginosi --id=BID --shifted[0m
[1;33mreservation-email send-receipt[0m [2;33m- sends charges receipt to the customer[0m
[1;33missues show[0m [2;33m- show all detected issues (--id=BID|otherwise all)[0m
[1;33missues detect[0m [2;33m- detect issue for selected thicket --id=BID[0m
[1;33missues force-resolve[0m [2;33m- remove all issues for selected thicket --id=BID[0m
[1;33mchm pullreservation[0m [2;33m- get new reservations via Channel Manager[0m
[1;33mavailability update-monthly[0m [2;33m- update availability monthly[0m
[1;33mavailability repair[0m [2;33m- update availability by date range and/or rate_id [--date-from=DATE_FROM] [--date-to=DATE_TO] [--rate-id=RATE_ID][0m
[1;33mavailability update-monthly-apartel[0m [2;33m- update availability monthly for apartel[0m
[1;33mbooking firstcharge[0m [2;33m- executes first charging for the reservations that are not in flexible period and do not have charge yet[0m
[1;33mbooking clear-links[0m [2;33m- clear expired edit links[0m
[1;33mbooking check-reservation-balances[0m [2;33m- Calculate reservation balances and check whether the saved one is correct [0m
[1;33muser send-login-details[0m [2;33m- generate new password and send details to user email[0m
[1;33muser calculate-vacation-days[0m [2;33m- calculate vacation days for active employees[0m
[1;33muser show[0m [2;33m- show user info [--id=USER ID][0m
[1;33muser update-schedule-inventory[0m [2;33m- update schedule inventory for active employees[0m
[1;33mcrawler update[0m [2;33m- update ota connection status[0m
[1;33mcrawler check[0m [2;33m- check ota connection status and update only last edit date [--product=apartment|apartel] [--identity=ID,ID] [--ota=ID,ID][0m
[1;33mapartment check-performance[0m [2;33m- checks all selling apartments performance for last month, and if result is negative, add notification for those who have the appropriate role[0m
[1;33mapartment documents-after-sixty-days-expiring [0m [2;33m- loops through apartment documents and sends notification to group managers if document expiration date == 60 days[0m
[1;33mapartment correct-apartment-reviews [0m [2;33m- loops through all active apartments and corrects their average review score[0m
[1;33mbuilding check-performance[0m [2;33m- checks all buildings' selling apartments performance for last month, and if result is negative add notification for those who have the appropriate role[0m
[1;33mcontact-us send[0m [2;33m- send email from website contact us page [--name=VisitorName] [--email=VisitorEmail] [--remarks=RemarksAsString][0m
[1;33mdb safe-backup[0m [2;33m- create safe database backup[0m
[1;33mtools[0m [2;33m- more tools (help included)[0m
[1;33marrivals send-arrivals-mail[0m [2;33m- Send email to concierge for new arrivals[0m
[1;33mtask update-reservation-cleaning-tasks-for-2-days[0m [2;33m- update cleaning tasks and set housekeeper entry and next guest keys[0m
[1;33mparking extend-inventory[0m [2;33m- Extend parking inventory[0m
[1;33memail send-applicant-rejections[0m [2;33m- Send applicant rejection emails[0m
[1;33mtools report-unused-files[0m [2;33m- Report all unused files on hard disk & lost files in database || type [ginosole tools] to see all available parameters[0m
[1;33mtools optimize-tables[0m [2;33m- Run optimize tables statement for all database tables [0m
[1;33minventory-synchronization execute-inventory[0m [2;33m- Apartment inventory synchronization [start|restart][0m
[1;33mapi-request delete-expired-request[0m [2;33m- Delete expired API request[0m
//.........这里部分代码省略.........