PHP Method Schema::GetParam, someline-starter Code Examples

This page contains top rated real world PHP examples of method Schema::GetParam from package someline-starter extracted from open source projects. You can rate examples to help us improve the quality of examples
Frequently Used Methods
Example #1
Show file File: header.php Project: UnklePablo/manager
0
		opacity: 0.85;
      }*/
    </style>
  </head>
  
  <body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <a class="navbar-brand" href="#">Project name</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">

          <ul class="nav navbar-nav navbar-right">
            <?php 
$topbar = Schema::GetParam('topbar');
foreach ($topbar as $top) {
    $subactions = $top['subactions'];
    $num_subactions = count($subactions);
    $class_down = $caret = '';
    if ($num_subactions > 0) {
        $class_down = 'class="dropdown-toggle" data-toggle="dropdown" ';
        $caret = '<span class="caret"></span>';
    }
    echo '<li>';
    echo '<a href="' . $top['url'] . '" ' . $class_down . ' role="button"><span class="glyphicon ' . $top['icon'] . '"></span> <span class="liname">' . $top['name'] . ' ' . $caret . '</span></a>';
    if ($num_subactions > 0) {
        echo '<ul class="dropdown-menu" role="menu">';
        foreach ($subactions as $sub) {
            echo '<li><a href="' . $sub['url'] . '"><span class="glyphicon ' . $sub['icon'] . '"></span> ' . $sub['name'] . '</a></li>';
        }
Example #2
Show file File: menu.php Project: UnklePablo/manager
0
</span></a>
            </li>
          <?php 
}
?>
        <li><a href="#a" class="glyphicon glyphicon-eye-open LinkCloseOpen"><!-- --></a></li>
      </ul>
    </div>
   <div class="col-md-offset-1 col-md-11 main">
    <!-- <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> -->
        <h1 class="page-header"><?php 
echo Schema::GetParam('title_pag');
?>
</h1>
        <?php 
$return = Schema::GetParam('return');
if ($return) {
    ?>
        <div class="row">
          <div class="col-xs-6 text-left">
            <ol class="breadcrumb">
              <?php 
    foreach ($return as $line_r) {
        echo '<li><a href="#">' . $line_r . '</a></li>';
    }
    ?>
              <!-- <li><a href="#">Home</a></li>
              <li><a href="#">Library</a></li>
              <li class="active">Data</li> -->
            </ol>
          </div>