Re: LiveUser applications
| From: | Rodrigo Alvarez | Date: | Thu, 09 Jun 2005 22:08:27 +0000 |
| Subject: | Re: LiveUser applications | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19583@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
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), ),), ),
anyways i dont really understand what you are trying to do. are you just trying to use a string as the application_id? in that case you would also need to change the application_id type. also the seq is not used if you explicitly pass a value for application_id when you pass the data for to add*() methods. 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).Regards, Rodrigo.