mgd_get_page_element_by_name

(Midgard 1.4.2 'Bifrost')

mgd_get_page_element_by_name -- Get a page-element record by name

Description

object mgd_get_page_element_by_name (int page, string name)

Minimum version: Midgard 1.4 (Bifrost)

Get information about the page element with parent page page and name name.


<?php
  $pe = mgd_get_page_element_by_name(13,"head-style");
  echo $pe->value;
?>