php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kk at shonline dot de
New email:
PHP Version: OS:

 

 [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?

Kristian

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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: Thu Mar 28 22:01:26 2024 UTC