XMC: xmRepository

xmRepository berfungsi untuk mengakses System Repository.

  • LoadTemplate (string $TemplateName, string $TemplateData) : string
  • LoadSQL (string $SQLName, SubAtomic $SubAtomic, Array $ExtraData) : string
<?php


$myData = array ("myData" => "myValue");
$content = \xmRepository::LoadTemplate ("path\\myTemplate", $myData);

$obj = \xmUser::SubAtomic("\\atomic\my\\Object");
$content = \xmRepository::LoadSQL ("path\\mySQL", $obj, $myData);

?>

No comments:

Post a Comment