On successful login, Auth Component does a redirect to either:
1. where you were before you were redirected to the login screen (not
in your case I guess)
2. whatever default you have set
3. the website index page.
(I think that is the correct order)
I guess your problem is that your ajax call
I am not sure about this but I have a vague memory about reading that
for habtm Cake does not look for any real model unless you specify
with in the association. The automagic being that you don't have to
make a real linking model for those simple habtm associations and Cake
does not have to
If I have a table with a price field and these prices change very
frequently, also rows are added and subtracted frequently.
I need to make an element that shows the total of all these prices,
what is the most efficient way to minimise load on the database.
Keep in mind there might be anywhere
Yes I saw defaultModel too after I posted.
Both my paginated models were in paginator's params array but using
them both seems, as you say, to only affect parst of the helper. For
example, numbers pulls the correct values provided by the component
and uses them for counting pages but does not
I want to call the hash function from the Core Security Library.
In this controller I can simply call $this-hash(...);
but in the component I get an error: Fatal error: Call to undefined
method obAuthComponent::hash()
I tried $this-ControllerName-hash and $this-ModelName-hash
and I can't find
I believe you can call it statically like this: Security::hash(...);
/Martin
On Sep 9, 8:45 am, Sarah sarah.e.p.jo...@gmail.com wrote:
I want to call the hash function from the Core Security Library.
In this controller I can simply call $this-hash(...);
but in the component I get an
find call works ok
i was just wondering why Containable is ignoring my model::order.
On 9 Set, 05:20, brian bally.z...@gmail.com wrote:
On Tue, Sep 8, 2009 at 7:35 PM, Ernestoe.fanz...@gmail.com wrote:
y sorry i forgot it
i'm using the italian translation of Date as field name
At security level high CakePHP creates a new session id for each
request (often enough anyway). This behaviour might be causing you
problems using Ajax. The intermittent aspect of the problem is because
ajax will be fine as long as you don't make use of the A too much.
Cake will only allow one
Are the non-members information important after the meeting? Are there
non-members, who participates repeatedly?
Must non-members provide information on themselves every time, or can
they use their previous non-member information?
What are the current use of the members? Does the non-members
http://www.milesj.me/forum is purely with CakePHP :p
Faifas
On Wed, Sep 9, 2009 at 02:09, ihti meta...@gmail.com wrote:
CakeForum is a fast and lightweight CakePHP powered forum software
with very basic functionality. It is being actively developed and new
featured are popping up on a
@Miles J - Of course, I was concentrating on using cake to build the
SQL so much that I missed the obvious mistake in creating the
conditions array.
I don't suppose cake would handle the following:
array('Post.title LIKE'=array('%mary%', '%tom%'), 'Post.description
LIKE'=array('%mary%',
I would be creating a new action in your controller to handle your
multiple soft delete and you would need to pass a data array
structured as follows:
Array
(
[ModelName] = Array(
[0] = Array
(
[id] = 1
Hi, is there some instructions on how to get Cake to use an
alternative Database config, based on the Debug level, I currently use
the following code inside my core.php to dynamically change between
debug levels, based on whether I'm on my localhost, or on my
production server... I tried the same
Hi, I keep on getting the following message on my production server
and the hosting company asked me to troubleshoot my code... (xxx
denotes the correct server config info)... this configuration, when
edited on my localhost works fine.
Warning (2): mysql_connect() [function.mysql-connect]: Host
The most accurate would be to run a method after create, update and
delete
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
But it is supported, it is PDO witch is not installed in my
environment
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links0
Client API version 5.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET/var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
Hi, how can I call method from another controller?
I have read somthing about requestAction(...) but in help they say ...
It is rarely appropriate to use in a controller or model.
Is there other better way??
Thanks
Tomas
--~--~-~--~~~---~--~~
You received this
Hi, I have got some little issue and I would appreciate if anybody can
help me out :)
In some specific part PHP (not even cake I guess) gives me strange
error.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 19456 bytes) in
Dear all ,
Please help me.
How to use CAKEPHP to delete cookies when browser is close.
--
Regards,
Mohammad Arif Hossen
Software Enginner
Epsilon Consulting and Development Services(ECDS)
www.ecds-tech.com
+88 01714355911
--~--~-~--~~~---~--~~
You received this
Hi Jas,
I just had the same situation and I created a model behavior where the
sum of all fields can be written to a parent model field afterSave()
and afterDelete(). The definition of the field and the scope of the
sum operation I define inside the model's belongsTo-Associaton.
If you just
Nvm i found the problem,
i followed some tutorial somwhere witch said database_name in stead of
database
On Sep 8, 6:22 pm, brian bally.z...@gmail.com wrote:
I think PDO is not supported. You'll need to have either MySQL or
MySQLi drivers installed.
On Tue, Sep 8, 2009 at 10:01 AM,
OK, trying to get the array layout like yours. I've only been able to
get this close.
Array
(
[Records] = Array
(
[id] = 17
[delete] = 0
)
)
echo $form-hidden('Records.id]',array('value' = $record['Record']
['id']));
echo
Hopefully it will be simple for one of you to help me.
I was following the steps in the Todo list tutorial from Cakephp
novice to professional and i am getting stuck along the way.
.
1)Firstly i created my database
CREATE TABLE IF NOT EXISTS `item` (
`id` int(11) unsigned NOT NULL
I think it also depends on what your own code is doing in
draw_form_item.ctp on line 35 .
Possibly the CakePHP upgrade requires a little bit of extra memory,
and your script was already near the limit of 8MB using the previous
CakePHP version ?
Try raising the memory limit a bit and evaluate
Does your provider guarantees that a client coming from the address
'www17.jnb2.host-h.net has access to the mysql database ?
On Wed, Sep 9, 2009 at 10:25 AM, CapeTownGuycobus.van.aa...@gmail.com wrote:
Hi, I keep on getting the following message on my production server
and the hosting
nice one
On 5 Wrz, 22:06, Miles J mileswjohn...@gmail.com wrote:
Here you go, this will do what your asking for model associations.
http://www.pseudocoder.com/archives/2009/04/17/on-the-fly-model-chain...
But yes, since it supports PHP 4 it wont do lazyloading, its a future
feature.
Hi,
I had already posted a question, but figured out that this might have
been too confusing. i want to use a Drag and Drop AJAX Function. I
have got 2 Drop Zones.
div id=dropZone11/div
div id=dropZone22/div
Question:
1. Do I need now 2 dropRemote for this?
2. I know I can use with to hand
My employer wants a drop down for sorting the results instead of links.
I want to do this by launching a js function that make a click on the
appropriate link that is hidden.
It is this the right way to do it ?
And if so, haw can I insert a ID in the a href that $paginator-sort
set on the
Is this for real?!
On 9 Set, 10:45, arif hossen arifhossen2...@gmail.com wrote:
Dear all ,
Please help me.
How to use CAKEPHP to delete cookies when browser is close.
--
Regards,
Mohammad Arif Hossen
Software Enginner
Epsilon Consulting and Development Services(ECDS)www.ecds-tech.com
Hi,
Does anyone know if cake core has any problems saving HABTM tables
using text keys instead of numeric?
I have and edit method in a controller that is supposed to save data
to it's main table and 3 HABTM.
Two of them work just as expected, first removing all of the rows in
the table and
thanks, I'll try to work a2hosting. Also I found in help: Yes we
working with CakePHP
;-)
On 8 сен, 20:23, Changoso mmosc...@gmail.com wrote:
I use A2Hostingand Works great with vhosting and CakePHP
Have lots of cakeprojects working without problem ;)
A2 say they are programmers friendly
Hello ,
I m not able to connect my database with Mysql in cake php that show
database could not connection error please tell me where i m wrong.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To
What OS?
Are you able to connect or query using any other program?
Type mysql on command line. What do you get?
Rick
On Sep 9, 6:52 am, nida nidakid...@gmail.com wrote:
Hello ,
I m not able to connect my database with Mysql in cake php that show
database could not connection error
Make changes in your database.php file in config folder.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group,
ah yes, i can check the passed id if it's stored in a session, and
i'll check out the security component.
it's better to use what's already there supplied by Cake than to solve
problems with our own way right?
thank you for your replies.
--~--~-~--~~~---~--~~
Hello,
The problem is in the title Cake not saving CREATED and MODIFIED
field to the join table when saving related records, here's the
models involved:
-- -
-- Table `dbname`.`user`
-- -
App::import('Controller', array(...));
http://book.cakephp.org/view/531/Importing-Controllers-Models-Components-Behaviors-
On Wed, Sep 9, 2009 at 3:50 PM, toka...@gmail.com toka...@gmail.com wrote:
Hi, how can I call method from another controller?
I have read somthing about
I have a class model
1. Shift - has many ShiftDetail
2. ShiftDetail - belongs to Shift
i was creating page for add Shift that has also can create shift detail on
the same page (using ajax)
in the controller i using saveAll to save that data,
if ($this-Shift-validates()) {
Hey all,
How can I get cake to retrieve deeply related info?
*Property *belongsTo *Location *which in turn belongsTo *Country*
How can I get $this-Property-find(xx) to return the Country as well?
I'm having the same problem with *Property *belongsTo *Seller *which
belongsTo *User *(every time I
initialize to local variable, $variable = App::import('Controller',
array('example'));
$variable-method
On Wed, Sep 9, 2009 at 8:36 PM, Mukhamad Ikhsan ikhsan.o...@gmail.comwrote:
App::import('Controller', array(...));
Set recursive to 2?
On Sep 9, 3:21 pm, Bryan Paddock bryanpadd...@gmail.com wrote:
Hey all,
How can I get cake to retrieve deeply related info?
*Property *belongsTo *Location *which in turn belongsTo *Country*
How can I get $this-Property-find(xx) to return the Country as well?
I'm
recursive only accepts 3 values... -1 / 0 / 1
Tried that :(
On Wed, Sep 9, 2009 at 4:57 PM, grigri j...@hendersonwebdesign.com wrote:
Set recursive to 2?
On Sep 9, 3:21 pm, Bryan Paddock bryanpadd...@gmail.com wrote:
Hey all,
How can I get cake to retrieve deeply related info?
Where on earth did you get that idea?
See: http://book.cakephp.org/view/439/recursive
Check the model tests in the source, there are many examples of
setting recursive to 2, 3, and even 6 (in the testReadFakeThread
method).
hth
grigri
On Sep 9, 4:01 pm, Bryan Paddock bryanpadd...@gmail.com
Oh no ways
Hmm..
$this-Property-recursive = 1;
pr($this-Property-find('all'));
and it prints out the properties without extended associated data...
$this-Property-recursive = 2;
pr($this-Property-find('all'));
and it returns nothing at all...
hmmm let me look through my models - maybe I
What hellfish wanted to say: YOU CAN'T.
Closing the browser doesn't affect PHP so the only way to do this is
IN the browser.
But why so complicated. Just use a session. A session usually stores
user information in a text file on the server. To recognize a user,
the browser will store a session
I've been doing my PHP coding in BBedit on the Mac, but thinking that
it would be better if I started to use an IDE for PHP. Can anyone
recommend a good free or low cost one that works well on Mac and with
CakePHP framework? I've briefly looked at Zend Studio but it's too
expensive for me
PHP is primarily a web centric language. Once the browser is closed,
there really isn't a way to clear the cookies of a visitor, as there
is no further way to interact with the web site, and thus the server
that runs the PHP code.
If you are thinking more along clearing your OWN cookies after
Why not use contain?
'contain' = array(
'Property' = array(
'conditions' = array(
'Property.id' = $foo),
'fields' = array(
'Property.field1,
'Property.field2')),
I like netbeans a lot. It shows documentation from PHP functions inline in
the editor, which is very useful.
On Wed, Sep 9, 2009 at 12:18 PM, Bob Albert b...@superstan.com wrote:
I've been doing my PHP coding in BBedit on the Mac, but thinking that
it would be better if I started to use an
I tried to submit this bug, but apparently my trac account doesn't
have the proper permissions to submit a ticket.
If someone in charge of trac.cakephp.org could remedy this for me, I'd
be happy to file a ticket.
Thanks.
On Aug 18, 8:04 pm, benjam benjamwel...@gmail.com wrote:
I have
The CakePHP development team is happy to announce CakePHP 1.2.5[1].
1.2.5 is a bug fix release of the latest stable branch. Check the
changelog[2] for all the changes.
CakePHP 1.2.5 Includes almost 40 commits and more than 20 fixes.
Furthermore, due to popular demand CakePHP 1.2.5 is compatible
Hi Bob,
I use on my Mac Eclipse with PHP support.
http://www.eclipse.org/pdt/
It does not come with build-in cakes support but it is good for me.
Anyway you can put cake's library in build path and you get also
suggestion of cake core methods...
Tomas
On Sep 9, 5:18 pm, Bob Albert
OK - I can't figure out if I'm missing something really obvious (quite
possibly), or if the functionality just isn't there. Basically, my
issue is figuring out whether a model belongs to a plugin at runtime.
I've got some common functionality in a behavior that is attached to
almost every model
I have this contain query
$params = array(
'conditions' = array(
'Post.featured' = 1,
'Post.status' = 0,
'Post.rank =' = $rank,
'NOT' = array(
'Post.id' = $remove)),
'fields' = array(
Well in what circumstances would you need to know if its from a plugin
or not? You should know right off the bat when you are calling the
model, like Plugin.ModelName.
On Sep 9, 9:08 am, Jamie jamie@gmail.com wrote:
OK - I can't figure out if I'm missing something really obvious (quite
Do not listen to Mukhamad Ikhsan, that way is extremely wrong.
Simply place the method you want to use in the AppController, or
within a component.
On Sep 9, 6:38 am, Mukhamad Ikhsan ikhsan.o...@gmail.com wrote:
initialize to local variable, $variable = App::import('Controller',
Try changing it to 'host' = 'localhost'
On Wed, Sep 9, 2009 at 4:25 AM, CapeTownGuy cobus.van.aa...@gmail.com wrote:
Hi, I keep on getting the following message on my production server
and the hosting company asked me to troubleshoot my code... (xxx
denotes the correct server config
Yes the join or relation HABTM table uses the AppModel object
unless you supply a model name with the with option. Ive ran into
many problems because of this.
On Sep 8, 11:21 pm, Martin Westin martin.westin...@gmail.com wrote:
I am not sure about this but I have a vague memory about reading
Can somebody re-open Trac Ticket #6245. It's sitting in the waiting for
testcase state, but I have put a testcase in there since then:
6245_testcase.tar.gz (2.1 kB) - added by cuppett on 07/16/09 21:56:09.
The CakePHP Testcase
There is also some analysis and a patch.
Stephen Cuppett
steve at
On Wed, Sep 9, 2009 at 3:31 AM, John Andersen j.andersen...@gmail.com wrote:
Are the non-members information important after the meeting? Are there
non-members, who participates repeatedly?
Must non-members provide information on themselves every time, or can
they use their previous
I would strongly consider doing this within the DB. With proper
indexing, it'd be a lot more efficient to let the DB do the
calculations rather than have your app do it.
On Wed, Sep 9, 2009 at 2:22 AM, Jas mciver.ja...@gmail.com wrote:
If I have a table with a price field and these prices
If the find() works ok, what's the problem?
On Wed, Sep 9, 2009 at 3:19 AM, Ernesto e.fanz...@gmail.com wrote:
find call works ok
i was just wondering why Containable is ignoring my model::order.
On 9 Set, 05:20, brian bally.z...@gmail.com wrote:
On Tue, Sep 8, 2009 at 7:35 PM,
On Wed, Sep 9, 2009 at 6:19 AM, Dismankler simbatro...@gmail.com wrote:
Hopefully it will be simple for one of you to help me.
I was following the steps in the Todo list tutorial from Cakephp
novice to professional and i am getting stuck along the way.
.
1)Firstly i created my database
Was missing Post.user_id
Dave
-Original Message-
From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com]
Sent: September-09-09 1:42 PM
To: cake-php@googlegroups.com
Subject: Contain not pulling data
I have this contain query
$params = array(
'conditions' =
Tomas - thanks. I downloaded the Eclipse for PHP developers. Is that
the same thing as adding PDT to Eclipse?
Bob
On Sep 9, 2009, at 9:00 AM, Tokasa wrote:
Hi Bob,
I use on my Mac Eclipse with PHP support.
http://www.eclipse.org/pdt/
It does not come with build-in cakes support but it
Additionally, your table name should be plural, so items.
On Sep 9, 9:52 am, brian bally.z...@gmail.com wrote:
On Wed, Sep 9, 2009 at 6:19 AM, Dismankler simbatro...@gmail.com wrote:
Hopefully it will be simple for one of you to help me.
I was following the steps in the Todo list tutorial
Thank you.
On Sep 9, 12:04 am, Martin Westin martin.westin...@gmail.com wrote:
I believe you can call it statically like this: Security::hash(...);
/Martin
On Sep 9, 8:45 am, Sarah sarah.e.p.jo...@gmail.com wrote:
I want to call the hash function from the Core Security Library.
In
I have the following validatio rules:
'email' = array(
'valid' = array(
'rule' = 'email',
'required' = true,
'allowEmpty' = false,
'message' = 'You must provide an email address.'
),
'duplicate' = array(
WTF loks at namespaces LikecontentSection Section
my VIEW
?php echo $form-create('Section',array
('plugin'='likecontent','controller'='sections','action'='add'));?
fieldset
legend?php __('Add');?/legend
On Wed, Sep 9, 2009 at 1:42 PM, brian bally.z...@gmail.com wrote:
I have the following validatio rules:
'email' = array(
'valid' = array(
'rule' = 'email',
'required' = true,
'allowEmpty' = false,
'message' = 'You must
Well, I was having exactly the same problem: a HABTM relation between
two entities. That fix worked, but is a workaround.
I really think this is a bug and should be solved by the CakePHP team.
With all that wonderful automagic, why do I have to copy an array to
have working validation and data
brian,
If members and non-members have the same fields, why not have a field
called 'status' which holds 'member' or 'non-member'?
humbao
brian wrote:
I'm building a site for an industry organisation and have a tricky (I
think) architecture problem. There's a table for members, with first
Komodo IDE is quite OK and has a nice support for CakePHP.
Setup screencast can be found
herehttp://www.pseudocoder.com/archives/2009/02/25/programming-cakephp-app-with-komodo-ide/
.
Kornelije Sajler
On Wed, Sep 9, 2009 at 19:03, Bob Albert b...@superstan.com wrote:
Tomas - thanks. I
This works much better! Thank you!
On 8 Sep., 07:03, Braindead markus.he...@gmail.com wrote:
You could also have a look at Cakes media
views:http://book.cakephp.org/view/489/Media-Views
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi Brian,
If the information is correct, that the meeting only takes place
yearly, then I would not care to retrieve the non-members information
or even keep it for long.
Then my models would be:
meetings - hasMany - non-members (thus the non-members register
their information every time for
I'm wondering if anyone else has this problem and has come up with a
solution.
Before my company started migrating some of our new development to
CakePHP we used just straight PHP development. Mostly pretty ugly but
it got the job done.
Most of our templates were a simple ?php
tried that too..!!!
it shows the same error
On Sep 8, 1:49 pm, Miles J mileswjohn...@gmail.com wrote:
Do you have caching on? Try clearing your tmp/cache folders.
Also try doing var $uses = array('Post'); in your controller.
On Sep 8, 9:33 am, new2cakephp shabaris...@gmail.com wrote:
Actually, after some more digging I think my original question was a
bit short-sighted and possibly entirely irrelevant.
Here's the situation:
One of our clients wants a what's new section of their website, in
which basically anything new or modified in the database gets
reported. So, a new
There's a very peculiar problem with my site that I can't quite figure out.
My garage page loads/displays information from the database based on the
users current session that's logged in. The user_id used to load the
information is set to $this-Auth-user('id'). However, if you reload the
page
On Wed, Sep 9, 2009 at 2:24 PM, John Andersen j.andersen...@gmail.com wrote:
Hi Brian,
If the information is correct, that the meeting only takes place
yearly, then I would not care to retrieve the non-members information
or even keep it for long.
Then my models would be:
meetings -
On Wed, Sep 9, 2009 at 12:44 PM, humbao hum...@gmail.com wrote:
brian,
If members and non-members have the same fields, why not have a field
called 'status' which holds 'member' or 'non-member'?
Yes, this is what a couple of others have suggested. It was also one
of my original plans but
Try putting var $useTable = 'posts'; in your Post model and see what
happens.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To
tried that too..!!
I guess there is connection to the database..
but when i check xampp/mysql/data/
I have the database that I have created..
On Sep 9, 6:38 pm, Miles J mileswjohn...@gmail.com wrote:
Try putting var $useTable = 'posts'; in your Post model and see what
happens.
Good going with the release of 1.2.5! I've already downloaded and
installed it.
However, I noticed that the version reported is still 1.2.4.8284. Are
you sure this is a clean commit to the code base? Commit
[e693e881e05dba168f49d14ab657dbff2b2f9c88] in the changelog says that
the version number
Since your on xampp, does your database information in your config
file match the database found at localhost/phpmyadmin (or your online
server)?
On Sep 9, 3:47 pm, new2cakephp shabaris...@gmail.com wrote:
tried that too..!!
I guess there is connection to the database..
but when i check
I have an admin routing set up for manage_action
Pretty much all the functions after baking the original controller functions
have
if (!$id empty($this-data)) {
$this-Session-setFlash(__('Invalid User', true));
$this-redirect(array('action'
Please eloborate..!!!
thanks
On Sep 9, 8:33 pm, Miles J mileswjohn...@gmail.com wrote:
Since your on xampp, does your database information in your config
file match the database found at localhost/phpmyadmin (or your online
server)?
On Sep 9, 3:47 pm, new2cakephp shabaris...@gmail.com
Not getting any validation error message with this:
'current' = array(
'rule' = array(
'between', 5, 15),
'required' = true,
'allowEmpty' = false,
'message' = 'Passwords must be between 5 and 15 characters long.',
'last' = true),
The
No as long as relevant conditions and fields are present, it will
update as well.
Loke
On Sep 9, 9:55 am, Mukhamad Ikhsan ikhsan.o...@gmail.com wrote:
I have a class model
1. Shift - has many ShiftDetail
2. ShiftDetail - belongs to Shift
i was creating page for add Shift that has also can
After using Eclipse PDT for almost four years now, and moving on to
Eclipse Galileo, I found that Eclipse IDE is too slow, and hogs too
much of memory, and CPU resources. It does support soft wrapping using
Athik's wrapper plugin. I tried NetBeans recently which does not have
any support for
Go to localhost/phpmyadmin in your browsers address bar. From there
you should see all your database tables created on your localhost. Now
open database.php within your Cake app and determine if the database
names and users match up. Seems like you might be creating the posts
table on the wrong
i have the similar situation with auto complete and many ajax reuests
- my user after many request to controller has logout when i cut url
and paste in browser user has goback login. this is the stupid
situation.
On 9 Wrz, 23:49, hahmadi82 hahmad...@gmail.com wrote:
There's a very peculiar
Thank you for the response.
So are you saying that I have only one Auth code in my complete application?
Can't we have multiple Auth code in different controllers and treat them
differently? That is each controller have their own Auth code. Is that not
possiable in cakePHP?
Regards,
Shashidhar.G
I bake in the command-line and edit with gedit like loke. Haven't
made use of gmate yet. (will check it out, thx, loke)
Matt
On Wed, Sep 9, 2009 at 9:57 PM, loke developer.l...@gmail.com wrote:
After using Eclipse PDT for almost four years now, and moving on to
Eclipse Galileo, I found
you are awesome..!!!
i jus screwed up the name of the database.!!
thanks a ton..!!!
thanks
On Sep 9, 10:14 pm, Miles J mileswjohn...@gmail.com wrote:
Go to localhost/phpmyadmin in your browsers address bar. From there
you should see all your database tables created on your localhost. Now
open
Have both configs in database.php, add AppModel, in it's constructor
set appropriate db config name to $this-useDbConfig and then call
parent constructor. Copy constructor arguments for AppModel from Model
and don't forget to pass them all to parent::__constructor();
On Sep 9, 3:21 pm,
96 matches
Mail list logo