[mapguide-trac] #1154: MgLayerBase should be able to get the filter of layer definition

MapGuide Open Source trac_mapguide at osgeo.org
Tue Nov 17 01:11:46 EST 2009


#1154: MgLayerBase should be able to get the filter of layer definition
--------------------------+-------------------------------------------------
 Reporter:  christinebao  |         Owner:  Christine Bao
     Type:  defect        |        Status:  new          
 Priority:  medium        |     Milestone:               
Component:  General       |       Version:  2.0.2        
 Severity:  trivial       |    Resolution:               
 Keywords:                |   External_id:  1277730      
--------------------------+-------------------------------------------------
Comment (by christinebao):

 Add an new API in MgLayerBase:[[BR]]

 {{{
     //////////////////////////////////////////////////////////////////
     /// \brief
     /// Gets the filter associated with this layer
     ///
     /// <!-- Syntax in .Net, Java, and PHP -->
     /// \htmlinclude DotNetSyntaxTop.html
     /// string GetFilter();
     /// \htmlinclude SyntaxBottom.html
     /// \htmlinclude JavaSyntaxTop.html
     /// String GetFilter();
     /// \htmlinclude SyntaxBottom.html
     /// \htmlinclude PHPSyntaxTop.html
     /// string GetFilter();
     /// \htmlinclude SyntaxBottom.html
     ///
     /// \return
     /// Returns the filter or an empty string if this layer is not a
 feature layer or doesn't have filter.
     ///
     virtual STRING GetFilter();  /// __get
 }}}
 [[BR]]
 The m_filter is assigned when parsing layer definition model, which is the
 same as feature source id, feature class name and geometry name.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1154#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list