|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #71 A method to define tags a la RXML of the Roxen Web Server
Submitted: 1998-02-16 11:53 UTC Modified: 1998-02-16 15:53 UTC
From: kk at shonline dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0b4 OS: any
Private report: No CVE-ID: None
 [1998-02-16 11:53 UTC] kk at shonline dot de
I am not reading the php mailing lists, so I may ask for a
frequently requested feature or i may cause a flame war,
but I would really like to have a way that allows me to
define pseudo-tags and bind them to functions.

For example, if I had a function that created a HTML-Table
from a database query called dumptable(), I would like
to be able to bind dumptable() to a pseudo-tag of an arbitrary name.

If I chose for example to bind dumptable() to SQLTABLE and
its parameter $query to an attribute "QUERY=" of SQLTABLE, I want
to be able to write

<SQLTABLE QUERY="select ...">...</SQLTABLE> instead of

<?php dumptable("select ...") ?>

How far-fetched is such an idea?



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-16 15:53 UTC] jim
Not going to happen. This doesn't really add anything terribly useful, and would
complicate the parser tremendously and needlessly.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 25 00:01:31 2024 UTC