当前位置: 首页>>代码示例>>PHP>>正文


PHP Vehicle::getVehicleNumber方法代码示例

本文整理汇总了PHP中Vehicle::getVehicleNumber方法的典型用法代码示例。如果您正苦于以下问题:PHP Vehicle::getVehicleNumber方法的具体用法?PHP Vehicle::getVehicleNumber怎么用?PHP Vehicle::getVehicleNumber使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Vehicle的用法示例。


在下文中一共展示了Vehicle::getVehicleNumber方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Driver

										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
						 
							<tbody>
								<?php 
    $mDriverList = $mPreviousDriverList;
    for ($i = 0; $i < sizeof($mDriverList); $i++) {
        $mDriver = new Driver($mDriverList[$i]);
        $mJob = new Job($mDriver->getCurrentJob());
        $mVehicle = new Vehicle($mDriver->getCurrentVehicle());
        echo "<tr>";
        echo "<td>" . $mDriver->getName() . "</td>";
        echo "<td>" . $mDriver->getPhone() . "</td>";
        echo "<td><a href='../vehicle/detail.php?id=" . $mVehicle->getId() . "'>" . $mVehicle->getVehicleNumber() . "</a></td>";
        echo "\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<!-- Icons -->\n\t\t\t\t\t\t\t\t\t\t <a href='#' title='Edit'><img src='../../res/pencil.png' alt='Edit'></a>\n\t\t\t\t\t\t\t\t\t\t <a href='#' title='Delete' onClick='onDelete(" . $mDriver->getId() . ")'><img src='../../res/cross.png' alt='Delete'></a>&nbsp;&nbsp;\n\t\t\t\t\t\t\t\t\t\t <a href='#' title='Edit Meta'><img src='../../res/hammer_screwdriver.png' alt='Edit Meta'></a>\n\t\t\t\t\t\t\t\t\t</td>";
        echo "</tr>";
    }
    ?>
							</tbody>
							
						</table>
						<?php 
}
?>
					</div> <!-- End #prev -->

                   
				</div> <!-- End .content-box-content -->
				
开发者ID:rustydev19,项目名称:Navigator,代码行数:30,代码来源:index.php

示例2: Vehicle

?>
		</div>
		<div id="content" style="float:right;width:85%;">
			<table>
				<tr><td style="width:200px;">Vehicle Type</td>
					<td style="width:200px;">Model</td>
					<td style="width:200px;">Vehicle Number</td>
					<td style="width:200px;">Current Job</td>
					<td style="width:200px;">Current Driver</td>
					<td style="width:200px;">Action</td>
				</tr>
				<?php 
for ($i = 0; $i < sizeof($mVehicleList); $i++) {
    $mVehicle = new Vehicle($mVehicleList[$i]);
    $mJob = new Job($mVehicle->getCurrentJob());
    $mDriver = new Driver($mJob->getDriver());
    echo "<tr>";
    echo "<td>" . $mVehicle->getType() . "</td>";
    echo "<td>" . $mVehicle->getModel() . "</td>";
    echo "<td>" . $mVehicle->getVehicleNumber() . "</td>";
    echo "<td>" . $mJob->getCode() . "</td>";
    echo "<td>" . $mDriver->getName() . "</td>";
    echo "<td><input type='submit' value='Assign'><input type='submit' value='Track'></td>";
    echo "</tr>";
}
?>
			</table>
		<div>
	</div>
	
</body> 
开发者ID:rustydev19,项目名称:Navigator,代码行数:31,代码来源:index2.php

示例3: Expense

						
							<table id="noti_table">
							<thead>
							<tr></tr>
							</thead>
							<tbody style="border-bottom:0px" id="bill_body">
							<?php 
for ($i = 0; $i < sizeof($mPendingExpenseList); $i++) {
    $mExpense = new Expense($mPendingExpenseList[$i]);
    $vehicleId = $mExpense->getVehicle();
    $mVehicle = new Vehicle($vehicleId);
    $driverId = $mExpense->getDriver();
    $mDriver = new Driver($driverId);
    $reason = $mExpense->getReason();
    $amount = $mExpense->getAmount();
    echo "<tr onMouseOver='this.bgColor='#EEEEEE''>\n\t\t\t\t\t\t\t\t\t\t\t<td style='width:30%'><b><a href='../vehicle/detail.php?id=" . $mVehicle->getId() . "'>" . $mVehicle->getVehicleNumber() . "</a></b></td>\n\t\t\t\t\t\t\t\t\t\t\t<td style='width:30%'><b><a href='../driver/detail.php?id=" . $mDriver->getId() . "'>" . $mDriver->getName() . "</a></b></td>\n\t\t\t\t\t\t\t\t\t\t\t<td>" . $reason . "</td>\n\t\t\t\t\t\t\t\t\t\t\t<td><b>Rs." . $amount . "</b></td>\n\t\t\t\t\t\t\t\t\t\t\t<td><a class='js-open-modal' href='#' data-modal-id='bill_popup' onClick='fetchBillDetails(" . $mExpense->getId() . ")'><img src='../../res/more_detail.png' width=20 height=20 style='cursor:hand;'/></a></td>\n\t\t\t\t\t\t\t\t\t\t</tr>";
}
?>
							</tbody>
							</table>
						</div>      
					
					</div> <!-- End .content-box-content -->			
				</div> <!-- End .content-box -->
				<!----------------- REMINDER TAB -------------------------------------------------------------------------------------
				<div class="content-box column-right" style="width:49%;height:50%">				
					<div class="content-box-header">					
						<h3 style="cursor: s-resize;">Reminders</h3>
						<a href="#" style="color:#57a000; float:right;padding:15px 10px 0 0 !important"><b>Add Reminder</b></a>		
					</div> 
					
开发者ID:rusty1909,项目名称:Navigator,代码行数:29,代码来源:index.php

示例4: Driver

									</td>
								</tr>
							</tfoot>
						 
							<tbody>
								<?php 
    //$mDriverList = $mAllDriverList;
    for ($i = 0; $i < sizeof($mDriverList); $i++) {
        $mDriver = new Driver($mDriverList[$i]);
        $mJob = new Job($mDriver->getCurrentJob());
        $mVehicle = new Vehicle($mDriver->getCurrentVehicle());
        echo "<tr>";
        echo "<td><img height='15' width='15' src='../../../images/driver_icon.png'>&nbsp;&nbsp;<b><a href='detail.php?id=" . $mDriver->getId() . "' style='text-transform:uppercase;vertical-align:2px;'>" . $mDriver->getName() . "</a></b></td>";
        echo "<td><b><img height='20' width='20' src='../../../images/phone_icon.png'><span style='vertical-align:5px;'>+91-" . $mDriver->getPhone() . "</span></b></td>";
        if ($mVehicle->getId() != "") {
            echo "<td><b><img height='15' width='15' src='../../../images/vehicle_types/" . $mVehicle->getType() . ".png'>&nbsp;<a style='text-transform:uppercase;vertical-align:2px;' href='../vehicle/detail.php?id=" . $mVehicle->getId() . "'>" . $mVehicle->getVehicleNumber() . "</a></b></td>";
        } else {
            echo "<td></td>";
        }
        echo "</tr>";
    }
    ?>
							</tbody>
							
						</table>
						
						<?php 
}
?>
						
					</div> <!-- End #all -->
开发者ID:rusty1909,项目名称:Navigator,代码行数:31,代码来源:index.php

示例5: getResource

 function getResource()
 {
     $resArray = array();
     $resArray['id'] = $this->id;
     $mUser = new User();
     $addedById = $this->addedBy;
     $mAddedBy = new User($addedById);
     switch ($this->type) {
         case "vehicle_addition":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $resArray['image'] = "vehicle_icon";
             if ($this->action == '1') {
                 $resArray['string'] = "<a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a> was added by ";
             } else {
                 $resArray['string'] = "<a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a> was removed by ";
             }
             break;
         case "driver_addition":
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['image'] = "driver_icon";
             if ($this->action == '1') {
                 $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a> was added by ";
             } else {
                 $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a> was removed by ";
             }
             break;
         case "driver_allotment":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['image'] = "allotment_icon";
             if ($this->action == '1') {
                 $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a> was assigned to <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a> by ";
             } else {
                 $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a> was removed from <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a> by ";
             }
             break;
         case "staff_addition":
             $employeeId = $this->employee;
             $mEmployee = new User($employeeId);
             $resArray['image'] = "staff_icon";
             if ($this->action == '1') {
                 $resArray['string'] = "<a href='#'><b>" . $mEmployee->getFullName() . "</b></a> was added by ";
             } else {
                 $resArray['string'] = "<a href='#'><b>" . $mEmployee->getFullName() . "</b></a> was removed by ";
             }
             break;
         case "driver_update":
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['image'] = "driver_icon";
             $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a>'s info was updated by ";
             break;
         default:
             $resArray['string'] = "Qwerty";
             $resArray['image'] = "alert_ok";
             break;
     }
     if ($mUser == $mAddedBy) {
         $resAddedBy = "<a href='/navigator/ui/setting'><b>you</b></a>";
     } else {
         $resAddedBy = "<a href='#'><b>" . $mAddedBy->getFullName() . "</b></a>";
     }
     $resArray['string'] .= $resAddedBy;
     $date = $this->dateAdded;
     $resArray['time'] = date("d-m-Y H:i:s", strtotime($date));
     $resArray['type'] = $this->type;
     return $resArray;
 }
开发者ID:rusty1909,项目名称:Navigator,代码行数:72,代码来源:Timeline.php

示例6: Vehicle

		<?php 
include 'sidebar.php';
?>
		</div>
		<div id="content" style="float:right;width:85%;">
			Add Order
			<form action="action.php?action=add" method="POST">
			<table>
				<tr><td>Title</td><td><input type="text" name="title" id="title"></td></tr>
				<tr><td>Vehicle</td>
					<td><select name="vehicle" id="vehicle"><option> --- Select Vehicle --- </option>
					<?php 
for ($i = 0; $i < sizeof($mVehicleList); $i++) {
    $mVehicle = new Vehicle($mVehicleList[$i]);
    if ($mVehicle->getCurrentJob() == "") {
        echo "<option value=" . $mVehicleList[$i] . ">" . $mVehicle->getVehicleNumber() . "</option>";
    }
}
?>
					</select></td></tr>
				<tr><td>Driver</td>
					<td><select name="driver" id="driver"><option> --- Select Driver --- </option>
					<?php 
for ($i = 0; $i < sizeof($mDriverList); $i++) {
    $mDriver = new Driver($mDriverList[$i]);
    if ($mDriver->getCurrentJob() == "") {
        echo "<option value=" . $mDriverList[$i] . ">" . $mDriver->getName() . "</option>";
    }
}
?>
					</select></td></tr>
开发者ID:rustydev19,项目名称:Navigator,代码行数:31,代码来源:edit.php

示例7:

} else {
    if ($mVehicle->getAddress() == null) {
        echo "<div class='notification attention png_bg' style='width:50%;float:left;margin:10px 10px 10px 10px;'><div>Could not find location at this moment, Please be patient and be with us.</div></div> ";
    } else {
        //echo $mVehicle->getAddress();
        ?>
					<div id="googleMap" style="width:70%;height:100%;float:left;"></div>
					<?php 
    }
}
?>
					<div class="content-box-content-detail" style="width:30%;height:100%;float:right;overflow-y:auto">
					
						<div id="vehicle_number" style="margin:15px 5px 20px 5px">
						<b style="font-size:30px"><?php 
echo $mVehicle->getVehicleNumber();
?>
 </b>
						<span style="font-size:12px">(<?php 
echo $mVehicle->getType();
?>
)</span>	
						<br><br><input type='button' value='View full details'> &nbsp;&nbsp;&nbsp; <input type='button' value='Notifications'>					
						</div>
						
					 
					
						<div class="content-box" style="margin:5px 5px 5px 5px" id="address_block">
							<div style="display: block;" class="content-box-content-no-border">
						
								<div style="display: block;" class="tab-content default-tab">
开发者ID:rustydev19,项目名称:Navigator,代码行数:31,代码来源:detail.php

示例8: sizeof

<body>
	<div id="header">
	<?php 
include '../header.php';
?>
	</div>
	<div id="container">
		<div id="sidebar" style="float:left;width:15%;">
		<?php 
include 'sidebar.php';
?>
		</div>
		<div id="content" style="float:right;width:85%;">
			<?php 
echo "Code : " . $mJob->getCode() . "<br>";
echo "Vehicle : " . $mVehicle->getVehicleNumber() . "<br>";
echo "Driver : " . $mDriver->getName() . "<br>";
echo "Location : " . $locationId . "<br>";
echo "No of orders : " . sizeof($orderList) . "<br>";
//echo $mJob->getStatus();
//if($mJob->getStatus() == '0') {
?>
			<input type="submit" value="Complete" onClick="setCompleted()">
			<?php 
//}
?>
			<hr>
			<table>
				<tr><td style="width:200px;">Order Code</td>
					<td style="width:200px;">Title</td>
					<td style="width:200px;">Client</td>
开发者ID:rustydev19,项目名称:Navigator,代码行数:31,代码来源:detail.php

示例9: Error

     $error->reason = "VEHICLE_TYPE";
     $error->message = "Vehicle type does not match";
     $result->error = $error;
 } else {
     if ($mVehicle->isDeployed() == 1) {
         $setupResponse->status = "FAILURE";
         $error = new Error();
         $error->reason = "VEHICLE";
         $error->message = $vehicle . " is already deployed";
         $result->error = $error;
     } else {
         if ($mVehicle->deploy($imei, $mac)) {
             $setupResponse->status = "SUCCESS";
             $vehicle = new TempVehicle();
             $vehicle->id = $mVehicle->getId();
             $vehicle->number = $mVehicle->getVehicleNumber();
             $vehicle->type = $mVehicle->getType();
             $vehicle->year = $mVehicle->getMakeYear();
             $vehicle->date_added = $mVehicle->getDateAdded();
             $result->vehicle = $vehicle;
             $mCompany = new Company($mVehicle->getCompany());
             $company = new TempCompany();
             $company->id = $mVehicle->getCompany();
             $company->name = $mCompany->getName();
             $company->phone = $mCompany->getPhone();
             $mAdmin = new User($mCompany->getAdmin());
             $admin = new TempAdmin();
             $admin->id = $mAdmin->getId();
             $admin->name = $mAdmin->getFullName();
             $admin->phone = $mAdmin->getPhoneMobile();
             $company->admin = $admin;
开发者ID:rusty1909,项目名称:Navigator,代码行数:31,代码来源:setup.php

示例10: Vehicle

        } else {
            $mVehicle = new Vehicle($vehicleId);
            if ($mVehicle->getType() != $type) {
                $setup['setup']['result'] = "fail_type";
                //echo "fail_type";
            } else {
                if ($mVehicle->isDeployed() == 1) {
                    $setup['setup']['result'] = "already";
                    //echo "already";
                } else {
                    if ($mVehicle->deploy()) {
                        $setup['setup']['result'] = "success";
                        $companyId = $mVehicle->getCompany();
                        $setup['setup']['model'] = $mVehicle->getModel();
                        $setup['setup']['type'] = $mVehicle->getType();
                        $setup['setup']['number'] = $mVehicle->getVehicleNumber();
                        $mCompany = new Company($companyId);
                        $setup['setup']['company_name'] = $mCompany->getName();
                        $setup['setup']['owner'] = $mCompany->getAdmin();
                        $setup['setup']['contact'] = $mCompany->getPhone();
                        //echo "success";
                    } else {
                        $setup['setup']['result'] = "fail";
                        //echo "fail";
                    }
                }
            }
        }
        echo json_encode($setup);
    }
}
开发者ID:rustydev19,项目名称:Navigator,代码行数:31,代码来源:setup.php

示例11:

				<div class="column-right" style="width:35%;height:88%">				
					<div class="content-box-header">					
						<h3 style="cursor: s-resize;">Current Status</h3>					
					</div> <!-- End .content-box-header -->	
							<br>
							<div id="vehicle_info">
								<?php 
//$mVehicle1 = new Vehicle($mId);
//echo $mVehicle->getCurrentDriver();
if ($mDriver->getCurrentVehicle() == 0) {
    ?>
									
								<b><img id="driver_icon" height="20" width="20" src="../../res/vehicle_types/Truck.png" title="Vehicle" alt="Vehicle">&nbsp; <span style='vertical-align:5px;'>Click</span> <a class="js-open-modal" href="#" data-modal-id="popup" style="font-size:11px" ><img id="add" height="15" width="15" src="../../res/add.png" title="Add Driver" alt="Add Driver"></a> <span style='vertical-align:5px;'>to assign vehicle</span></b>
								<?php 
} else {
    echo "<img id='driver_icon' height='20' width='20' src='../../res/vehicle_types/" . $mVehicle->getType() . "' title='" . $mVehicle->getType() . "' alt='" . $mVehicle->getType() . "'>&nbsp; <span style='vertical-align:5px;'><b><a href='../vehicle/detail.php?id=" . $mVehicle->getId() . "'>" . $mVehicle->getVehicleNumber() . "</a></b></span>";
    ?>
				
								&nbsp;&nbsp;&nbsp; 
								<?php 
}
?>
							</div>				
							<br>
							<?php 
if ($mDriver->getCurrentVehicle() != 0) {
    ?>
							<div id="location_info">
								<img id="location_icon" height="15" width="15" src="../../res/location_icon.png" title="Location" alt="Location">&nbsp;
								<b><span id="location_view" style='vertical-align:2px;'>
									Locating...
开发者ID:rusty1909,项目名称:Navigator,代码行数:31,代码来源:detail2.php

示例12: Expense

         echo "<script>window.location.href = 'http://www.findgaddi.com/navigator/Ver2.0/ui/pages/user/login.php'</script>";
     } else {
         echo "<script>alert('There was some error, please try again...  !!!');</script>";
         echo "<script>window.location.href = 'http://www.findgaddi.com/navigator/Ver2.0/ui/pages/user/login.php'</script>";
     }
     break;
 case "billdetail":
     if (!isset($_GET['id'])) {
         break;
     }
     $id = $_GET['id'];
     $mExpense = new Expense($id);
     $vehicleId = $mExpense->getVehicle();
     $mVehicle = new Vehicle($vehicleId);
     $vehicleDetail['id'] = $mVehicle->getId();
     $vehicleDetail['number'] = $mVehicle->getVehicleNumber();
     $vehicleDetail['type'] = $mVehicle->getType();
     $driverId = $mExpense->getDriver();
     $mDriver = new Driver($driverId);
     $driverDetail['id'] = $mDriver->getId();
     $driverDetail['name'] = $mDriver->getName();
     $detail['id'] = $mExpense->getId();
     $detail['vehicle'] = $vehicleDetail;
     $detail['driver'] = $driverDetail;
     $detail['reason'] = $mExpense->getReason();
     $detail['amount'] = $mExpense->getAmount();
     $detail['filename'] = $mExpense->getFilename();
     $detail['date_added'] = $mExpense->getDateAdded();
     $detail['location'] = $mExpense->getLocation();
     echo json_encode($detail);
     break;
开发者ID:rusty1909,项目名称:Navigator,代码行数:31,代码来源:UserActionHelper.php

示例13: getResource

 function getResource()
 {
     $resArray = array();
     $resArray['id'] = $this->id;
     switch ($this->type) {
         case "search":
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $item = $this->searchItem;
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a> searched for <b>" . $item . "</b> from <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a>";
             break;
         case "location":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $city = $this->city;
             $resArray['string'] = "<a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a> reached <b>" . $city . "</b>";
             break;
         case "expenses":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $receiptId = $this->receipt;
             $mExpense = new Expense($receiptId);
             $expenseAmount = $mExpense->getAmount();
             $expenseReason = $mExpense->getReason();
             $resArray['string'] = "<a href=\"/navigator/ui/driver/detail.php?id=" . $driverId . "\"><b>" . $mDriver->getName() . "</b></a> uploaded bill of <b>Rs." . $expenseAmount . "</b> for <b>" . $expenseReason . "</b> from <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a>";
             break;
         case "power_battery_low":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['string'] = "<b>Low Battery</b> reported for <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a>";
             break;
         case "power_shutdown":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['string'] = "<b>Device shutdown</b> reported for <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a>";
             break;
         case "power_battery_unplugged":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['string'] = "<b>Power Unplugged</b> reported for <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a>";
             break;
         case "power_battery_plugged":
             $vehicleId = $this->vehicle;
             $mVehicle = new Vehicle($vehicleId);
             $driverId = $this->driver;
             $mDriver = new Driver($driverId);
             $resArray['string'] = "Power is back on <a href=\"/navigator/ui/vehicle/detail.php?id=" . $vehicleId . "\"><b>" . $mVehicle->getVehicleNumber() . "</b></a>";
             break;
         default:
             $resArray['string'] = "";
             break;
     }
     //echo $resArray['string']."<br>";
     $date = $this->dateAdded;
     $resArray['time'] = date("d-m-Y H:i:s", strtotime($date));
     $resArray['lat'] = $this->latitude;
     $resArray['long'] = $this->longitude;
     $resArray['priority'] = $this->priority;
     $resArray['type'] = $this->type;
     return $resArray;
 }
开发者ID:rusty1909,项目名称:Navigator,代码行数:71,代码来源:Notification.php


注:本文中的Vehicle::getVehicleNumber方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。