Open Source Content Management Framework

Page Object Definition

This section describes the contents of pagelink objects. Most object parameters map directly to the record fields described above.

The functions listed within the object definition are the object methods that are available for the object. Usage information about those methods can be found in Object Methods.

/* Page Object Prototype */  

Class page {  

  var $N;          // Only with mgd_list_XXX functions.  
  var $id;  
  var $up;  
  var $style;  
  var $name;  
  var $title;  
  var $content;  
  var $author;  
  var $info;  
  var $changed;  
  var $sitegroup;  
  var $lang;                // if compiled with multilang features  

  // Public methods  

  function fetch();  // only with mgd_list_XXX functions.  

  function create();  
  function create_content();// if compiled with multilang features  
  function update();  
  function update_content();// if compiled with multilang features  
  function delete();  
  function delete_content();// if compiled with multilang features  

  function setsitegroup();  
  function getsitegroup();  

  function parameter();  
  function listparameters();  
  function searchparameters();  

  function setscore();  

  function settype();  

  function createattachment();  
  function updateattachment();  
  function deleteattachment();  
  function getattachment();  
  function listattachment();  
  function openattachment();  
  function serveattachment();  
}
Designed by Nemein, hosted by Anykey