Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
web_folder_web_services.inc
1 <?php
17 require_once SQ_CORE_PACKAGE_PATH.'/system/web_folders/web_folder/web_folder.inc';
18 
31 {
32 
33 
40  function __construct($assetid=0)
41  {
42  parent::__construct($assetid);
43 
44  }//end constructor
45 
46 
54  public function _getAllowedLinks()
55  {
56  return Array(
57  SQ_LINK_TYPE_1 => Array(
58  'soap_server' => Array('card' => 'M', 'exclusive' => FALSE),
59  'js_api' => Array('card' => 'M', 'exclusive' => FALSE),
60  ),
61  SQ_LINK_TYPE_2 => Array(
62  'soap_server' => Array('card' => 'M', 'exclusive' => FALSE),
63  'js_api' => Array('card' => 'M', 'exclusive' => FALSE),
64  ),
65  SQ_LINK_NOTICE => Array('design' => Array('card' => 'M', 'exclusive' => FALSE)),
66  );
67 
68  }//end _getAllowedLinks()
69 
70 
71  public function getDesignParseFile()
72  {
73  $parse_file = '<html>
74  <head></head>
75 <body style="margin-left:0px;margin-right:0px;margin-top:0px;">
76 <div style="height:100%;width:100%;border: 1px thin;">
77  <div style="width:100%;height:70px; background-color:#003366;padding-top:30px;padding-left:20px;">
78  <span style="color:#FFFFFF;font-weight:bold;font-family:verdana;font-size:20px;">
79  MATRIX Web Services
80  </span>
81  </div>
82 
83 <MySource_AREA id_name="page_lineage" design_area="asset_lineage">
84 
85 <MySource_SET name="levels_to_print" value="0" />
86 <MySource_SET name="prefix_with_home_link" value="false" />
87 
88 <MySource_SET name="suffix_with_current_link" value="true" />
89 <MySource_SET name="prefix_with_divider" value="true" />
90 <MySource_SET name="suffix_with_divider" value="false" />
91 
92 <MySource_DIVIDER>&gt;&nbsp;</MySource_DIVIDER>
93 
94 </mySource_Area>
95 
96 <div style="padding-left:18px;padding-top:18px;">
97 <span style="color:black;font-weight:bold;font-size:14px;font-family:verdana;">
98  Available Operations
99 </span>
100 <br /><br />
101 <MySource_AREA id_name="page_body" design_area="body" />
102 </div>
103 </div>
104 </body></html>';
105 
106  return $parse_file;
107 
108  }//end getDesignParseFile()
109 
110  function canDelete()
111  {
112  return TRUE;
113  }
114 }//end class
115 ?>