From: Dimitry S. <sd...@ib...> - 2010-12-26 10:36:42
|
26.12.2010 10:20, Roman Rokytskyy wrote: > 26.12.2010 10:05, Dimitry Sibiryakov написав(ла): >> 26.12.2010 9:54, Roman Rokytskyy wrote: >>> Joomla has a function to insert an object, which generates an INSERT >>> statement, and then if PK column is specified, generated value is filled >>> in the object. Then there is another function that takes the INSERT >>> statement and executes it, and then another function to get the >>> generated values. >> >> And what is preventing you from putting PK value, generated in the first procedure, >> into any half-global variable and retrieve the value in the third procedure?.. > > I do not know the name of the PK column that was generated. But how in this case Joomla manages to cope with "generated value is filled in the object"? -- SY, SD. |