Re: LiveUser applications
| From: | Lukas Smith | Date: | Thu, 09 Jun 2005 22:37:12 +0000 |
| Subject: | Re: LiveUser applications | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19585@lists.php.net to get a copy of this message | ||
Rodrigo Alvarez wrote:
Lukas Smith wrote:well it probably will not work for you, because then you are responsible for generating new application_id's, which is not what you want ..I'll give it a try. This could solve the problem.The question is, how can I add each requested url to liveuser_applications (using LiveUser_Admin addApplication method), automatically, without incrementing the liveuser_applications_seq table?The solution would be to overwrite the definition of the 'application_id' field in the 'applications' table. By default its defined to be 'seq'. You can change it to true or false or some name. put this into your config ... 'permContainer' => array( 'tables' => array('applications' => array( 'fields' => array('application_id' => true), ),), ),
No, i will use application_define_name, as normal. The problem is that inserting a name that already exists, doesn't really inserts data (as expected), but increments the sequence (I don't want this).btw: what bugs you about this so much anyways? just annoyed by the needless overhead? regards, Lukas