Not as far as I know. I assume that when ms_newMapObj() is executed, mapserver parses the mapfile (and parses and included files), and creates structures/objects in memory from the mapfile objects. The "include" directive is never created as an object and so cannot be manipulated by PHP.

Best Regards,
Brent Fraser


On 6/22/2011 8:19 AM, Pedro Arriondo wrote:
Yes, i load mapfiles with include directives, but my question is how control it with phpmapscript. For example: how delete, add or modify include directives contained in an object ms_newMapObj()




    2011/6/22 Brent Fraser <[email protected]
    <mailto:[email protected]>>

        Yes, a map loaded using ms_newMapObj() can contain "include"
        statements.

        Best Regards,
        Brent Fraser


        On 6/22/2011 7:59 AM, Pedro Arriondo wrote:
        Thanks for your answer, but i refer to Mapserver's INCLUDE
        Directive (http://mapserver.org/mapfile/Include.html)

        2011/6/22 Brent Fraser <[email protected]
        <mailto:[email protected]>>

            Yes, you can use "include".  PHP Mapscript is an
            extension to PHP, not a replacement.

            Best Regards,
            Brent Fraser


            On 6/22/2011 7:29 AM, Pedro Arriondo wrote:
            Hi friends, i'd like know if is possible control the
            INCLUDE directive with PHPMapscript.

            Thanks for your time.

            Sorry for my (bad) english!

            Pedro.


            _______________________________________________
            mapserver-users mailing list
            [email protected]
            <mailto:[email protected]>
            http://lists.osgeo.org/mailman/listinfo/mapserver-users




_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to