propel
MVC and ORM - which Model logic goes where?
For clarity consider a fairly standard \"User registration\" functionality: My ORM (Propel) allows you to alter the class ormUser, which extends the ormUserBase, in order to introduce custom function[详细]
2023-04-12 18:45 分类:问答Export large rows to Excel document, in small memory footprint
I am using PHPExcel to create an Excel document, using data from a MySQL database.My script must execute in under 512MB of RAM, and I am running into trouble as my export reaches 200k records:[详细]
2023-04-12 05:04 分类:问答Propel 1.6, Phing, Windows 7 - How to set this up?
I am trying to get the \"propel-gen reverse\" command working, but just can\'t seem to get the setup right.[详细]
2023-04-11 00:52 分类:问答symfony plugin installation failing [bhLDAPAuthPlugin]
I\'m working on a symfony project and I need a user access conected to an LDAP server. So I searched for something already done to add to my app and found this plugin that has all I wanted.[详细]
2023-04-08 14:50 分类:问答how can i select max(id) using the Criteria object?
i have this code: static public function getLastNewMessage($profile_id) { $c = n开发者_开发百科ew Criteria();[详细]
2023-04-05 04:58 分类:问答propel:data-dump outputs only rows where self-referential fk is null - how to work around?
Am using Symfony 1.4 and Propel 1.6. I have a table representing an object where one may record may relate to one other record in the table (Think outbound / inbound routes). The key of second half of[详细]
2023-04-01 09:29 分类:问答Symfony 1.4, Propel, build-forms use an older yaml?
I use Symfony 1.4 with Propel. I deleted a table (name: company_show_field), deleted from database and schema.yml too. Then I added a new table named agency_company (it is exists in DB too). So I have[详细]
2023-03-31 20:19 分类:问答sfguard bundle for symfony2
There is a bundle for (Propel) for symfony开发者_C百科2,is there sfguard bundle for symfony2There\'s no sfGuard bundle (yet), but have you checked out FOSUserBundle? I actually like it better than sfG[详细]
2023-03-29 14:33 分类:问答Naming Generated Functions in Propel
The ideo of cross-reference tables is introduced in Propel 1.5. This means that an entity can get a list of related items as if it were a one-to-many relation. So in a person-to-groups relationship, a[详细]
2023-03-29 04:21 分类:问答Require One of a Set of Fields in SQL
I have an entity, let\'s call \'machine\', which has a group of entities fr开发者_开发问答om which it takes its name. At least one of these fields is required, but more than one can be set. So in the[详细]
2023-03-29 03:40 分类:问答