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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sat Dec 21 17:01:58 2024 UTC