PHP Classes

File: resources/views/contacts.blade.php

Recommend this page to a friend!
  Classes of Leonardo Feitosa   Laravel with Office 365   resources/views/contacts.blade.php   Download  
File: resources/views/contacts.blade.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel with Office 365
Access Microsoft Outlook accounts using its API
Author: By
Last change:
Date: 2 months ago
Size: 652 bytes
 

Contents

Class file image Download
@extends('layout')

@section('content')
<div id="inbox" class="panel panel-default">
  <div class="panel-heading">
    <h1 class="panel-title">Contacts</h1>
  </div>
  <div class="panel-body">
    Here are your first 10 contacts.
  </div>
  <div class="list-group">
    <?php if (isset($contacts)) {
      foreach(
$contacts as $contact) { ?>
<div class="list-group-item">
      <h3 class="list-group-item-heading"><?php echo $contact->getGivenName().' '.$contact->getSurname() ?></h3>
      <p class="list-group-item-heading"><?php echo $contact->getEmailAddresses()[0]['address']?></p>
    </div>
    <?php }
    }
?>
</div>
</div>
@endsection