public function block_body($context, array $blocks = array()) { // line 4 echo "\t<table class=\"table\">\n\t\t<tr>\n\t\t\t<th>Id</th>\n\t\t\t<th>Location</th>\n\t\t\t<th>Position</th>\n\t\t\t<th>Company</th>\n\t\t</tr>\n "; // line 11 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["jobs"]) ? $context["jobs"] : null); foreach ($context['_seq'] as $context["_key"] => $context["job"]) { // line 12 echo " \t<tr>\n \t\t<td>"; // line 13 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "id", array()), "html", null, true); echo "</td>\n \t\t<td>"; // line 14 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "location", array()), "html", null, true); echo "</td>\n \t\t<td>"; // line 15 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "position", array()), "html", null, true); echo "</td>\n \t\t<td>"; // line 16 echo twig_escape_filter($this->env, $this->getAttribute($context["job"], "company", array()), "html", null, true); echo "</td>\n \t</tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['job'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 19 echo " </table>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<ol class=\"traces logs\">\n "; // line 2 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["logs"]) ? $context["logs"] : null); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 3 echo " <li"; if ($this->getAttribute($context["log"], "priority", array()) >= 400) { echo " class=\"error\""; } elseif ($this->getAttribute($context["log"], "priority", array()) >= 300) { echo " class=\"warning\""; } echo ">\n "; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "priorityName", array()), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "message", array()), "html", null, true); echo "\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo "</ol>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9 = $this->env->getExtension("native_profiler"); $__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9->enter($__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.txt.twig")); // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message", array()); echo "\n"; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9->leave($__internal_82a0e2110829e05d04d509aaad606161779028bbabd90aadd2356846d70947b9_prof); }
/** * Get the fillable attributes of a given array. * * @param array $attributes * * @return array */ protected function fillableFromArray(array $attributes) { if (count($this->getFillable()) > 0 && !static::$unguarded) { return array_intersect_key($attributes, array_flip($this->getFillable())); } return $attributes; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<table "; if (array_key_exists("class", $context)) { echo "class='"; echo twig_escape_filter($this->env, isset($context["class"]) ? $context["class"] : $this->getContext($context, "class"), "html", null, true); echo "'"; } echo " >\n <thead>\n <tr>\n <th scope=\"col\">Key</th>\n <th scope=\"col\">Value</th>\n </tr>\n </thead>\n <tbody>\n "; // line 9 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(twig_sort_filter($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "keys", array()))); foreach ($context['_seq'] as $context["_key"] => $context["key"]) { // line 10 echo " <tr>\n <th>"; // line 11 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo "</th>\n "; // line 13 echo " <td>"; echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(isset($context["bag"]) ? $context["bag"] : $this->getContext($context, "bag"), "get", array(0 => $context["key"]), "method"), 64 | 256), "html", null, true); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['key'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo " </tbody>\n</table>\n"; }
public function block_content($context, array $blocks = array()) { // line 10 echo "<table class=\"records_list table table-hover table-striped table-bordered table-condensed\">\n <thead>\n <tr>\n <th>Id</th>\n <th>Nombre</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n "; // line 19 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : $this->getContext($context, "entities")); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 20 echo " <tr>\n <td><a href=\""; // line 21 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clasificadoretapa_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"), "html", null, true); echo "</a></td>\n <td>"; // line 22 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "nombre"), "html", null, true); echo "</td>\n <td>\n <ul>\n <li>\n <a href=\""; // line 26 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clasificadoretapa_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">show</a>\n </li>\n <li>\n <a href=\""; // line 29 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("clasificadoretapa_edit", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">edit</a>\n </li>\n </ul>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 35 echo " </tbody>\n </table>\n\n <ul>\n <li>\n <a href=\""; // line 40 echo $this->env->getExtension('routing')->getPath("clasificadoretapa_new"); echo "\">\n Create a new entry\n </a>\n </li>\n </ul>\n "; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e = $this->env->getExtension("native_profiler"); $__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e->enter($__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.txt.twig")); // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message", array()); echo "\n"; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e->leave($__internal_a799df460f3a7d8d63eda2c7a1cd47b222cb5c16ffcb312bb111083342f5606e_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "\n"; // line 2 if ($this->getAttribute(isset($context["wp"]) ? $context["wp"] : null, "aviators_flash_has_messages", array(), "method")) { // line 3 echo " <div class=\"span12\">\n "; // line 4 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["wp"]) ? $context["wp"] : null, "aviators_flash_get_messages", array(), "method")); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 5 echo " <div class=\"alert "; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["message"]) ? $context["message"] : null, "level"), "html", null, true); echo "\">\n "; // line 6 echo $this->getAttribute(isset($context["message"]) ? $context["message"] : null, "message"); echo "\n </div><!-- /.alert -->\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_merge($_parent, array_intersect_key($context, $_parent)); // line 9 echo " </div><!-- /.span12 -->\n"; } }
public function block_corps($context, array $blocks = array()) { // line 3 echo "<h1> Personnel </h1>\n<p id=\"categorie\"> Médecins : </p>\n<div class=\"col-md-6\" id=\"tableauMedecin\">\n<table class=\"table table-bordered\">\n"; // line 7 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["lesMedecins"]) ? $context["lesMedecins"] : $this->getContext($context, "lesMedecins")); foreach ($context['_seq'] as $context["_key"] => $context["medecin"]) { // line 8 echo "\n<tr class=\"warning\">\n\t<td> "; // line 10 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getNom", array(), "method"), "html", null, true); echo " </td>\n\t<td> "; // line 11 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getPrenom", array(), "method"), "html", null, true); echo " </td>\n\t<td> "; // line 12 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getTelephone", array(), "method"), "html", null, true); echo " </td>\n\t<td><a href=\""; // line 13 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("bundle_ppe_mission2_bootstrap_modifMedecin", array("id" => $this->getAttribute(isset($context["medecin"]) ? $context["medecin"] : $this->getContext($context, "medecin"), "getId", array(), "method"))), "html", null, true); echo "\"> Modifier </a> </td>\n</tr>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['medecin'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo "</table>\n</div>\n\n\n<p id=\"petit\"><u> Vous souhaitez postuler ? Par ici </u></p>\n<div id=\"btnPostuler\">\n<input type=\"button\" class=\"btn btn-success\" value=\"Postuler\"/>\n</div>\n"; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Noticias</h1>\n\n \n <tbody>\n "; // line 8 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["tabla"]) ? $context["tabla"] : $this->getContext($context, "tabla")); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 9 echo " \n <a href=\""; // line 10 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("noticias_show", array("id" => $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "id"))), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "tituloNoticias"), "html", null, true); echo "</a><br>\n \n <img src=\""; // line 12 echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/uniseries/imagenes/" . $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fotoNoticias") . ""), "html", null, true); echo "\" width=20% height=20%/>\n <br>\n "; // line 14 if ($this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaNoticias")) { echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "fechaNoticias"), "Y-m-d "), "html", null, true); } echo "<br><br>\n <p>By: "; // line 15 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity"), "autorNoticias"), "html", null, true); echo "</p><br><br>\n \n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 18 echo " </tbody>\n </table>\n\n "; }
/** * {@inheritdoc} */ public function preprocessElement(Element $element, Variables $variables) { $variables->addClass(['image-widget', 'js-form-managed-file', 'form-managed-file', 'clearfix']); $data =& $variables->offsetGet('data', []); foreach ($element->children() as $key => $child) { // Modify the label to be a placeholder instead. if ($key === 'alt') { $child->setProperty('form_group', FALSE); $placeholder = (string) $child->getAttribute('placeholder'); if (!$placeholder) { $label = ['#theme' => 'form_element_label']; $label += array_intersect_key($child->getArray(), array_flip(['#id', '#required', '#title', '#title_display'])); $child->setProperty('title_display', 'invisible'); $placeholder = trim(strip_tags(Element::create($label)->render())); if ($child->getProperty('required')) { $child->setProperty('description', t('@description (Required)', ['@description' => $child->getProperty('description')])); } } if ($placeholder) { $child->setAttribute('placeholder', $placeholder); } } $data[$key] = $child->getArray(); } }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae = $this->env->getExtension("native_profiler"); $__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae->enter($__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.txt.twig")); // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code")) . " | " . (isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text")) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "message", array()); echo "\n"; // line 3 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("@Twig/Exception/traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae->leave($__internal_94c3e27321f6b1679573f3b1b439f01a774b63ad3a9847923a40039bd86b68ae_prof); }
public function getMargins($list = null) { if (!$list) { return $this->margins; } return array_intersect_key($this->margins, array_combine($list, $list)); }
public function block_block($context, array $blocks = array()) { // line 14 echo " <h3 class=\"sonata-feed-title\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings"), "title"), "html", null, true); echo "</h3>\n\n <div class=\"sonata-feeds-container\">\n "; // line 17 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["feeds"]) ? $context["feeds"] : $this->getContext($context, "feeds")); $context['_iterated'] = false; foreach ($context['_seq'] as $context["_key"] => $context["feed"]) { // line 18 echo " <div>\n <strong><a href=\""; // line 19 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "link"), "html", null, true); echo "\" rel=\"nofollow\" title=\""; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "title"), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "title"), "html", null, true); echo "</a></strong>\n <div>"; // line 20 echo $this->getAttribute(isset($context["feed"]) ? $context["feed"] : $this->getContext($context, "feed"), "description"); echo "</div>\n </div>\n "; $context['_iterated'] = true; } if (!$context['_iterated']) { // line 23 echo " No feeds available.\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['feed'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 25 echo " </div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<div class=\"form-group\">\n <form> \n <input id=\"id_user\" type=\"hidden\" value=\"\" placeholder=\"id\">\n <input id=\"id_login\" type=\"text\" value=\"\" placeholder=\"Login\">\n <input id=\"id_passe\" type=\"text\" value=\"\" placeholder=\"Mote de passe\"> \n <input type=\"button\" onclick=\"UsrValider()\" value=\"Valider\" id=\"btnValUser\">\n <input type=\"button\" onclick=\"userModifier()\" value=\"Modifier\" id=\"btnModUser\" style=\"display: none\"> \n </form>\n</div>\n\n\n<div class=\"panel-body\">\n <div class=\"table-responsive\">\n <table class=\"table table-bordered table-hover table-striped\">\n <thead>\n <tr>\n <th>Id</th>\n <th>Logim</th>\n <th>Mot de Passe</th>\n <th> </th>\n <th> </th>\n </tr>\n </thead>\n <tbody>\n "; // line 25 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users")); foreach ($context['_seq'] as $context["_key"] => $context["u"]) { // line 26 echo " <tr>\n <td>"; // line 27 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "id"), "html", null, true); echo "</td>\n <td>\n <a href='#' onclick=\"UsrAfficher("; // line 29 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "id"), "html", null, true); echo ")\">\n "; // line 30 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "login"), "html", null, true); echo "\n </a>\n </td>\n <td>"; // line 33 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "password"), "html", null, true); echo "</td>\n <td></td>\n <td> <a href=\"#\" onclick=\"supprimer("; // line 35 echo twig_escape_filter($this->env, $this->getAttribute(isset($context["u"]) ? $context["u"] : $this->getContext($context, "u"), "id"), "html", null, true); echo ")\" > Supprimer</a></td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " </tbody>\n </table>\n </div> \n</div>\n</div>\n</div>\n"; }
protected function _setSlugOptions() { foreach (Set::normalize($this->options['slugs']) as $slug => $options) { $defaultBySlug = array('display' => $slug); $this->_slugOptions[$slug] = Set::merge(array_intersect_key($this->options, array_flip(array('model', 'urlencode'))), $defaultBySlug, self::$defaultSlugOptions, $options); } }
protected function addressFromIP($ip) { $geocoder = AddressGeocoding::get_geocoder(); $geodata = array(); try { if ($ip) { $geodata = $geocoder->geocode($ip)->toArray(); } } catch (Exception $e) { SS_Log::log($e, SS_Log::ERR); } $geodata = array_filter($geodata); $datamap = array('Country' => 'countryCode', 'County' => 'county', 'State' => 'region', 'PostalCode' => 'zipcode', 'Latitude' => 'latitude', 'Longitude' => 'longitude'); $mappeddata = array(); foreach ($datamap as $addressfield => $geofield) { if (is_array($geofield)) { if ($data = implode(" ", array_intersect_key($geodata, array_combine($geofield, $geofield)))) { $mappeddata[$addressfield] = $data; } } elseif (isset($geodata[$geofield])) { $mappeddata[$addressfield] = $geodata[$geofield]; } } return $mappeddata; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7 = $this->env->getExtension("native_profiler"); $__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7->enter($__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "EsieaBlogBundle:Advert:menu.html.twig")); // line 2 echo "\n"; // line 5 echo "\n<ul class=\"nav nav-pills nav-stacked\">\n "; // line 7 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["listAdverts"]) ? $context["listAdverts"] : $this->getContext($context, "listAdverts")); foreach ($context['_seq'] as $context["_key"] => $context["advert"]) { // line 8 echo " <li>\n <a href=\""; // line 9 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("esiea_blog_view", array("id" => $this->getAttribute($context["advert"], "id", array()))), "html", null, true); echo "\">\n "; // line 10 echo twig_escape_filter($this->env, $this->getAttribute($context["advert"], "titre", array()), "html", null, true); echo "\n </a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['advert'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 14 echo "</ul>"; $__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7->leave($__internal_50c4d1ea1f9cf5530087b308bea560ca82a1653a63c844d1ce82a7b199781db7_prof); }
/** * {@inheritdoc} */ public function create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) { // authentication provider $authProviderId = 'oro_security.authentication.provider.organization_rememberme.' . $id; $container->setDefinition($authProviderId, new DefinitionDecorator('oro_security.authentication.provider.organization_rememberme'))->addArgument($config['key'])->addArgument($id); $templateId = 'oro_security.authentication.organization_rememberme.services.simplehash'; $rememberMeServicesId = $templateId . '.' . $id; if ($container->hasDefinition('security.logout_listener.' . $id)) { $container->getDefinition('security.logout_listener.' . $id)->addMethodCall('addHandler', array(new Reference($rememberMeServicesId))); } $rememberMeServices = $container->setDefinition($rememberMeServicesId, new DefinitionDecorator($templateId)); $rememberMeServices->replaceArgument(1, $config['key']); $rememberMeServices->replaceArgument(2, $id); if (isset($config['token_provider'])) { $rememberMeServices->addMethodCall('setTokenProvider', array(new Reference($config['token_provider']))); } // remember-me options $rememberMeServices->replaceArgument(3, array_intersect_key($config, $this->options)); // attach to remember-me aware listeners $rememberMeServices->replaceArgument(0, $this->getUserProviders($container, $config, $id, $rememberMeServicesId)); // remember-me listener $listenerId = 'oro_security.authentication.listener.organization_rememberme.' . $id; $listener = $container->setDefinition($listenerId, new DefinitionDecorator('oro_security.authentication.listener.organization_rememberme')); $listener->replaceArgument(1, new Reference($rememberMeServicesId)); return array($authProviderId, $listenerId, $defaultEntryPoint); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838 = $this->env->getExtension("native_profiler"); $__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838->enter($__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:logs.html.twig")); // line 1 echo "<ol class=\"traces logs\">\n "; // line 2 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["logs"]) ? $context["logs"] : $this->getContext($context, "logs")); foreach ($context['_seq'] as $context["_key"] => $context["log"]) { // line 3 echo " <li"; if ($this->getAttribute($context["log"], "priority", array()) >= 400) { echo " class=\"error\""; } elseif ($this->getAttribute($context["log"], "priority", array()) >= 300) { echo " class=\"warning\""; } echo ">\n "; // line 4 echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "priorityName", array()), "html", null, true); echo " - "; echo twig_escape_filter($this->env, $this->getAttribute($context["log"], "message", array()), "html", null, true); echo "\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['log'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 7 echo "</ol>\n"; $__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838->leave($__internal_bd8ab5ffb8d570ebe8c29c3e18ca1f9d011bc35f2f432c4c2dc37e17e1a4f838_prof); }
/** * Handles form submission * @param array $data * @return bool|\SS_HTTPResponse */ public function addtocart(array $data) { $groupedProduct = $this->getController()->data(); if (empty($data) || empty($data['Product']) || !is_array($data['Product'])) { $this->sessionMessage(_t('GroupedCartForm.EMPTY', 'Please select at least one product.'), 'bad'); $this->extend('updateErrorResponse', $this->request, $response, $groupedProduct, $data, $this); return $response ? $response : $this->controller->redirectBack(); } $cart = ShoppingCart::singleton(); foreach ($data['Product'] as $id => $prodReq) { if (!empty($prodReq['Quantity']) && $prodReq['Quantity'] > 0) { $prod = Product::get()->byID($id); if ($prod && $prod->exists()) { $saveabledata = !empty($this->saveablefields) ? Convert::raw2sql(array_intersect_key($data, array_combine($this->saveablefields, $this->saveablefields))) : $prodReq; $buyable = $prod; if (isset($prodReq['Attributes'])) { $buyable = $prod->getVariationByAttributes($prodReq['Attributes']); if (!$buyable || !$buyable->exists()) { $this->sessionMessage("{$prod->InternalItemID} is not available with the selected options.", "bad"); $this->extend('updateErrorResponse', $this->request, $response, $groupedProduct, $data, $this); return $response ? $response : $this->controller->redirectBack(); } } if (!$cart->add($buyable, (int) $prodReq['Quantity'], $saveabledata)) { $this->sessionMessage($cart->getMessage(), $cart->getMessageType()); $this->extend('updateErrorResponse', $this->request, $response, $groupedProduct, $data, $this); return $response ? $response : $this->controller->redirectBack(); } } } } $this->extend('updateGroupCartResponse', $this->request, $response, $groupedProduct, $data, $this); return $response ? $response : ShoppingCart_Controller::direct($cart->getMessageType()); }
public function block_body($context, array $blocks = array()) { // line 11 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session"), "flashbag"), "get", array(0 => "notice"), "method")); foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) { // line 12 echo " <div class=\"flash-message\">\n <em>Notice</em>: "; // line 13 echo twig_escape_filter($this->env, isset($context["flashMessage"]) ? $context["flashMessage"] : $this->getContext($context, "flashMessage"), "html", null, true); echo "\n </div>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo "\n "; // line 17 $this->displayBlock('content_header', $context, $blocks); // line 26 echo "\n <div class=\"block\">\n "; // line 28 $this->displayBlock('content', $context, $blocks); // line 29 echo " </div>\n\n "; // line 31 if (array_key_exists("code", $context)) { // line 32 echo " <h2>Code behind this page</h2>\n <div class=\"block\">\n <div class=\"symfony-content\">"; // line 34 echo isset($context["code"]) ? $context["code"] : $this->getContext($context, "code"); echo "</div>\n </div>\n "; } }
public function initialize($content = array(), $identifier = '') { // check for template if (isset($content['template'])) { $this->_template = $content['template']; unset($content['template']); } if (isset($identifier)) { $this->_identifier = $identifier; } if (count($content)) { $renderItems = array(); foreach ($content as $key => $item) { if (is_array($item)) { $usedItem = array_intersect_key($item, array_flip($this->_allowAttributes)); $usedItem['active'] = false; // if language, than replace the url if ($this->_page->config['use_language']) { $usedItem['url'] = $this->_page->currentLanguage . "/" . $usedItem['url']; } // check active if ($usedItem['url'] == $this->_page->uri) { $usedItem['active'] = true; } $usedItem['url'] = $this->_page->config['url'] . $usedItem['url']; $renderItems[] = $usedItem; } else { echo "Menu Item must have title and url, please provide!"; } } $this->_renderItems = $renderItems; } }
protected function doDisplay(array $context, array $blocks = array()) { // line 18 if (isset($context["title"]) ? $context["title"] : null) { // line 19 echo " <h3>"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true); echo "</h3>\n"; } // line 21 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable(isset($context["rows"]) ? $context["rows"] : null); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 22 echo " "; // line 23 $context["row_classes"] = array(0 => isset($context["default_row_class"]) ? $context["default_row_class"] : null ? "views-row" : ""); // line 27 echo " <div"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute($context["row"], "attributes", array()), "addClass", array(0 => isset($context["row_classes"]) ? $context["row_classes"] : null), "method"), "html", null, true); echo ">\n "; // line 28 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["row"], "content", array()), "html", null, true); echo "\n </div>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("for" => 18); $filters = array(); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('for'), array(), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 18 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["metadata"]) ? $context["metadata"] : null); foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) { // line 19 echo " <span"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["attributes"], "addClass", array(0 => "rdf-meta", 1 => "hidden"), "method"), "html", null, true)); echo "></span>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "[exception] "; echo (isset($context["status_code"]) ? $context["status_code"] : null) . " | " . (isset($context["status_text"]) ? $context["status_text"] : null) . " | " . $this->getAttribute(isset($context["exception"]) ? $context["exception"] : null, "class", array()); echo "\n[message] "; // line 2 echo $this->getAttribute(isset($context["exception"]) ? $context["exception"] : null, "message", array()); echo "\n"; // line 3 $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : null, "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 4 echo "["; echo $context["i"] + 1; echo "] "; echo $this->getAttribute($context["e"], "class", array()); echo ": "; echo $this->getAttribute($context["e"], "message", array()); echo "\n"; // line 5 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:exception.txt.twig", 5)->display(array("exception" => $context["e"])); // line 6 echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
public function block_body($context, array $blocks = array()) { // line 4 echo "<h1>Liste des pays</h1>\n\n <table class=\"table table-hover table-striped table-bordered .table-responsive\">\n <thead>\n <tr>\n <th>Pays</th>\n <th>Actions</th>\n </tr>\n </thead>\n <tbody>\n "; // line 14 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["entities"]) ? $context["entities"] : null); foreach ($context['_seq'] as $context["_key"] => $context["entity"]) { // line 15 echo " <tr>\n <td><a href=\""; // line 16 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pays_show", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\">["; echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "id", array()), "html", null, true); echo "] "; echo twig_escape_filter($this->env, $this->getAttribute($context["entity"], "pays", array()), "html", null, true); echo "</a></td>\n <td>\n\t\t\t\t\t<div style=\"white-space:nowrap\">\n\t\t\t\t\t\t\t<a href=\""; // line 19 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pays_show", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\" class=\"btn btn-info \"><i class=\"fa fa-eye\"></i></a>\n\t\t\t\t\t\t\t<a href=\""; // line 20 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("pays_edit", array("id" => $this->getAttribute($context["entity"], "id", array()))), "html", null, true); echo "\" class=\"btn btn-warning \"><i class=\"fa fa-pencil\"></i></a>\n\t\t\t\t\t</div>\n </td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 25 echo " </tbody>\n </table>\n\n <div class=\"container panel panel-default mypanel\">\n <div class=\"row panel-body\">\n <a href=\""; // line 30 echo $this->env->getExtension('routing')->getPath("pays_new"); echo "\" class=\"btn btn-default\">\n Ajouter un pays\n </a>\n </div>\n </div>\n \n\t\n "; }
/** * Returns all of the attributes in the collection * * If an optional mask array is passed, this only * returns the keys that match the mask * * @param array $mask The parameter mask array * @access public * @return array */ public function all($mask = null) { if (null !== $mask) { // Support a more "magical" call if (!is_array($mask)) { $mask = func_get_args(); } /* * Remove all of the keys from the attributes * that aren't in the passed mask */ $attributes = array_intersect_key($this->attributes, array_flip($mask)); /* * Make sure that each key in the mask has at least a * null value, since the user will expect the key to exist */ foreach ($mask as $key) { if (!isset($attributes[$key])) { $attributes[$key] = null; } } return $attributes; } return $this->attributes; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428 = $this->env->getExtension("native_profiler"); $__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428->enter($__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:traces_text.html.twig")); // line 1 echo "<div class=\"block\">\n <h2>\n Stack Trace (Plain Text) \n "; // line 4 ob_start(); // line 5 echo " <a href=\"#\" onclick=\"toggle('traces-text'); switchIcons('icon-traces-text-open', 'icon-traces-text-close'); return false;\">\n <img class=\"toggle\" id=\"icon-traces-text-close\" alt=\"-\" src=\"data:image/gif;base64,R0lGODlhEgASAMQSANft94TG57Hb8GS44ez1+mC24IvK6ePx+Wa44dXs92+942e54o3L6W2844/M6dnu+P/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABIALAAAAAASABIAQAVCoCQBTBOd6Kk4gJhGBCTPxysJb44K0qD/ER/wlxjmisZkMqBEBW5NHrMZmVKvv9hMVsO+hE0EoNAstEYGxG9heIhCADs=\" style=\"display: none\" />\n <img class=\"toggle\" id=\"icon-traces-text-open\" alt=\"+\" src=\"data:image/gif;base64,R0lGODlhEgASAMQTANft99/v+Ga44bHb8ITG52S44dXs9+z1+uPx+YvK6WC24G+944/M6W28443L6dnu+Ge54v/+/l614P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAASABIAQAVS4DQBTiOd6LkwgJgeUSzHSDoNaZ4PU6FLgYBA5/vFID/DbylRGiNIZu74I0h1hNsVxbNuUV4d9SsZM2EzWe1qThVzwWFOAFCQFa1RQq6DJB4iIQA7\" style=\"display: inline\" />\n </a>\n "; echo trim(preg_replace('/>\\s+</', '><', ob_get_clean())); // line 10 echo " </h2>\n\n <div id=\"traces-text\" class=\"trace\" style=\"display: none;\">\n<pre>"; // line 13 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["i"] => $context["e"]) { // line 14 echo "["; echo twig_escape_filter($this->env, $context["i"] + 1, "html", null, true); echo "] "; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "class", array()), "html", null, true); echo ": "; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "message", array()), "html", null, true); echo "\n"; // line 15 $this->loadTemplate("TwigBundle:Exception:traces.txt.twig", "TwigBundle:Exception:traces_text.html.twig", 15)->display(array("exception" => $context["e"])); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 16 echo "</pre>\n </div>\n</div>\n"; $__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428->leave($__internal_2fff3160042f23d812f76a57f2d794df9c0021a111c64efc06751bf3f7b16428_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8 = $this->env->getExtension("native_profiler"); $__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8->enter($__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "TwigBundle:Exception:exception.xml.twig")); // line 1 echo "<?xml version=\"1.0\" encoding=\""; echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true); echo "\" ?>\n\n<error code=\""; // line 3 echo twig_escape_filter($this->env, isset($context["status_code"]) ? $context["status_code"] : $this->getContext($context, "status_code"), "html", null, true); echo "\" message=\""; echo twig_escape_filter($this->env, isset($context["status_text"]) ? $context["status_text"] : $this->getContext($context, "status_text"), "html", null, true); echo "\">\n"; // line 4 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["exception"]) ? $context["exception"] : $this->getContext($context, "exception"), "toarray", array())); foreach ($context['_seq'] as $context["_key"] => $context["e"]) { // line 5 echo " <exception class=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "class", array()), "html", null, true); echo "\" message=\""; echo twig_escape_filter($this->env, $this->getAttribute($context["e"], "message", array()), "html", null, true); echo "\">\n"; // line 6 $this->loadTemplate("TwigBundle:Exception:traces.xml.twig", "TwigBundle:Exception:exception.xml.twig", 6)->display(array("exception" => $context["e"])); // line 7 echo " </exception>\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['e'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 9 echo "</error>\n"; $__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8->leave($__internal_b3d1a8db5a0cb6995c17e8ced2d163913a69dd9ffd0d2fd87aa1905ec69b25a8_prof); }