<?
########## Confixx(R) 3.0 Professional ############
####### Copyright SWsoft, Inc. 2004-2005 ##########
#### http://www.sw-soft.com - info@sw-soft.com ####

/*
  -------------------- Name conventions --------------------
  Function names (except methods):

  ff_DescriptionOfFunction


  Constant names:

  cc_DescriptionOfConstant


  Variable names:

  $ST_DescriptionOfVariable

  where S is a scope, T is a type.

  The following scopes should be used:
  g - global
  s - static
  l - local
  m - member of class
  p - parameter

  The following types should be used:
  s - scalar
  a - array
  r - resource
  o - object
  m - mixed

  -------------------- end Name conventions --------------------
*/





include_once ( dirname(__FILE__) . "/../class.LinkColumn.php" );





class MenuBlocksColumn extends LinkColumn
{

    /* -------------------- Members -------------------- */
    /* -------------------- end Members -------------------- */





    /* -------------------- Constructor -------------------- */
    function MenuBlocksColumn ( $ps_Link, $pm_Query, $ps_InnerHTML, $ps_Name, $ps_Label, $ps_Value, $pa_Attributes=array(),
		$ps_Width=NULL, $ps_Align=NULL, $ps_ID=NULL )
    {
	$this->LinkColumn ( $ps_Link, $pm_Query, $ps_InnerHTML, $ps_Name, $ps_Label, $ps_Value, $pa_Attributes, $ps_Width,
		$ps_Align, $ps_ID );
    }
    /* -------------------- end Constructor -------------------- */





    /* -------------------- two methods are different -------------------- */
    function GetQuery()
    {
	return array( "menublock_id" => $this->GetID() );
    }

    function GetInnerHTML ()
    {
	return ltext( "cm_items", array( $this->GetValue() ) );
    }
    /* -------------------- end two methods are different -------------------- */

}
?>
