1003022
[1440065437] => 1003029
and this is wrong!
The key should now the same as the value.
And if i run the sql against the mysql-Database i get the right results
Do i oversee something?
I use cakePhp 3.1.5
Thanks in advance,
michael
--
Like Us on FaceBook https://www.facebook.co
and this is wrong!
The key should now the same as the value.
And if i run the sql against the mysql-Database i get the right results
Do i oversee something?
I use cakePhp 3.1.5
Thanks in advance,
michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com
My experience of this is only with Cake 2, so I don't know if it is
possible in Cake 3, but if it is, please point me in the right direction.
I find myself writing model files which pass the same parameters to my
methods!
For example
My "Settings" model might have:
public function getSetting(
Hi together.
I need to create a database for a user, which has logged in and fill it
with some standard tables.
How do I do this within cakephp in a controller action or in a extra helper
class?
Thank for any hint
Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on
I have some big projects in CakePHP and always follow the Fat Models,
Skinny Controllers approach.
The issue I have now, is some of my model files are 5000 lines!
Is there a better way to decouple code that putting it all into the model
files. How could this code be separated into smaller file
ed further in CakePHP 3?
Thanks
Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop rece
I'm trying to use the pagination helper, but it's causing missing route
exception when used with any method that tries to generate a link.
my route code looks like this:
Router::prefix('manage', function ($routes) {
$routes->connect('/:organizationNeedle',['controller'=>'Organizations','action'
Hi,
I have been trying to get my PHP application to chat with a .net server
using SOAP and WDSL with WSE 2.0 auth.
This is a little bit of a pain and was wondering if anyone could point in
the direction of a some code or a tutorial or plugin that might help.
Most of the searches that I have d
Hey Jose
Here it is:
https://gist.github.com/cakecoded/59511a440dfb9c5c7628
On Friday, July 11, 2014 12:44:56 PM UTC+1, José Lorenzo wrote:
>
> Can you gist your full code, I have no idea what that error is.
>
> On Friday, July 11, 2014 11:49:40 AM UTC+2, Michael Houghton wrote:
Thanks Jose - that seems to be it! It might be worth updating the Tree docs
to show this.
Unfortunately, that is still giving me the error:
*Error: * Function name must be a string
*File*
/home/michael/public_html/bettornet/vendor/cakephp/cakephp/src/Collection/Iterator/TreePrinter.php
Hey Jose
Sure thing. This seems like a similar issue that I had with:
$this->Models->findByField($name)->first();
If you recall, I missed the -> first() and was trying:
$this->Models->findByField($name);
Which just gives a whole lot of data on the schema.
With the tree behavior, I am calling
ething else, like:
$pages = $this->Pages->find('treeList')->all();
It just feels like I am missing something here.
When I put my $pages variable into my "'options' => $pages" for my form
select, I get the following error:
*Error: * Function name must be
In 2.x, one could use $this->Form->model which would show the current model
being used by the form.
This was very useful when making custom helpers.
I notice in 3.0 this no longer works. Is there a way to get the current
form model somehow in 3.0?
--
Like Us on FaceBook https://www.facebook.
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
Hey Mark - it is super handy at times! I've used it recently for -
Ajax Pagination
Ajax Links
Multiple select boxes where the options change depending on above selections.
I recently used the JS helper for the final Toptal exam question and completed
the test site in 5 hours with it - most progra
I suspect this is a MYSQL setting. Out if interest, have you tried version 2.4
or below?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsu
It appears that the JS helper has been removed from CakePHP 3.
I was just wondering why this was, and how things like Ajax Pagination and
other handy JS functions will be handled going forward.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
The association should be there by default - most likely
$post['Category']['name'];
Otherwise just run pr($post); to see the full array!
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscrib
Having bought up this topic over at GitHub
https://github.com/cakephp/cakephp/issues/3458 - I am keen to provide some
further thoughts on the new view folder layouts.
Currently, in 3.0, there are two view folders:
View - for view classes, and if I understand correctly, for template engines
Temp
I have a database table called Complaints which has the following fields id
and description. Is it possible that the values in the complaints table be
used as radio button input fields? Such as if the table contains 10 entries
there will be 10 radio buttons.
--
Like Us on FaceBook https://www.
I have two tables called Employees and JobOrders , I want to make use of
the checkboxes where users can select Employees depending on how many
Employees are needed in a particular Job Order and then save it in the
database. How can I do this in CakePHP?
--
Like Us on FaceBook https://www.fac
Hi Expert,
Why new version, we can not bake a view that have search module ?
it's dufficult to make it ? . I hope new version CAKEPHP can have it.
Thks your time.
I am a newbie.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You
Hi folks, this is my new post. I am new to CakePHP, and to be honest I love
it. However, I am definitely confused when it comes to the models/tables
and associations. I am now working on a small project which is an online
exam application. I've read the models section , in particular the models
I have tried to pass in arrays like ("Aco"=>array("id"=>4)) but it doesn't
seem to work. Any suggestions?
On Thu, Aug 1, 2013 at 3:13 AM, Michael Gaiser wrote:
> So I have seen a lot of examples that use the aco alias when calling
> allow() but they usually
So I have seen a lot of examples that use the aco alias when calling
allow() but they usually have the parent aco's alias included. For example
'controllers/Users'. Is it possible to call allow() and just use the Aco.id
and the Aro.id? Thanks
~Michael
--
Like Us on
isting acl base code but that means extending the class and overriding
the necessary functions.
On Mon, Jun 24, 2013 at 1:25 AM, Rachman Chavik wrote:
> On Sun, 23 Jun 2013 01:43:28 -0400, Michael Gaiser wrote:
>
> > Or even, just a solid example that extends the existing AclCompo
Or even, just a solid example that extends the existing AclComponent so
that I can actually override some of the functions in it? Thanks again!
On Sun, Jun 23, 2013 at 1:39 AM, Michael Gaiser wrote:
> Well, the code in the link actually extends "AclComponent". Any other
> ide
Well, the code in the link actually extends "AclComponent". Any other ideas?
On Sat, Jun 22, 2013 at 3:37 PM, Gaurav Matta wrote:
> Check component class it should extend. Component and not object
> On 22-Jun-2013 10:03 PM, "Michael Gaiser" wrote:
>
>> So I f
://bakery.cakephp.org/articles/macduy/2010/01/05/acl-caching-using-session
Thanks.
~Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To u
, is there anyway to make the ACL Behavior also save the
alias of the record? Thanks
~Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP"
John is right. Your view should only be concerned with how the data is
presented, not how it is handled / manipulated. In the end, you should be
able to completely swap out your views without having to adjust your
controller at all. Follow the link John gave you and read up on it. It will
save you
if it will do what I need. Thanks.
~Michael
On Sun, Apr 21, 2013 at 8:04 PM, godjen99 wrote:
> Although I stopped short of this in my recent projects, so I haven't tried
>>> it, but it seems you could create a component of your own and just inherit
>>> the AuthCompon
Small correction, I want to overload the authorize function of the auth
component.
On Sunday, April 21, 2013, Michael Gaiser wrote:
> The Alaxos ACL Plugin is pretty cool and I will want my code to work very
> similar to that when I am done, but I dont think it will do exactly what I
>
I
do not really understand how the original worked in the first place so I
would prefer to try and make use of the already existing code as much as
possible. that being said, is there a way to change or overload the Auth
components check function without having to edit the library file?
~Michael
result in
multiple User ARO's linked to the same User id.
Does anyone know of a setup like this? Possibly a plugin? I think of a few
ways to go about it, but they tend to avoid using ACL & Auth. Has anyone
had to deal with a setup like this? Thanks.
~Michael
--
Like Us on FaceBook
Hi all.
I use two Plugins ( CakeDC User and the webtechnick Facebook Plugin) and
try to get them working together.
My Problem is when I login via the Facebook Plugin the User from the Users
Plugin (Table field facebook_id) is not updated and I have no permission to
get into various pages...
An
Be sure to render the JavaScript code *outside* of your update DIV.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this grou
Using the "group" option solved this issue. Thanks.
~Michael
On Sun, Feb 10, 2013 at 11:09 AM, 清水紘己 wrote:
> Perhaps you can't get hasMany records(Characters) at once with `join`
> option.
> Use bindModel() etc.
> See:
> http://book.cakephp.org/2.0/en/mode
I want to know what I can do so it only returns the event once. Thanks.
So here is my find parameters.
$this->Event->find('all', array(
'conditions'=>array('Location.id'=>4),
'joins'=>array(
array('table' => 'characters_events',
'alias' => 'Characters',
'type' => 'inner',
'conditions' => array(
to a session then use that? It seems really hacky but I'm
not sure why cake is working the way it is. Thanks for the help.
~Michael
>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you
?
~Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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
ata from within my model?
Thanks.
~Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop recei
So because of how I am dynamically creating my form inputs/save data, the
standard rule validation msg isnt being displayed on the input when the
save rule returns false. How do I manually trigger the msg to appear on a
given input? Thanks
~Michael
--
Like Us on FaceBook https
I will try that out later tonight.. Thanks a lot for the quick reply.
~Michael
On Sat, Jan 5, 2013 at 1:44 PM, lowpass wrote:
>
> ),
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because y
the Events index function, I am unsure how to set which
model to use as it seems to default to the "Event" model. Anyone know how
to have it list an index of the Feeding Model from the Events Index
function? Thanks
~Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find u
es anyone know how to use the HTML->style function with div's &
brackets? Thanks
~Michael
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"C
hi Guy's,
I'm trying to get this little Image Upload function to work on my cakePHP
site
this Tutorial on cakephp.org does pretty much all I need but I always run
into Trouble when I try to get The same thing running on my site and i cant
figure out why...
your help would be much aprechiated!
t
that cake was
great to work with.
On Wednesday, October 3, 2012 5:51:01 PM UTC-4, Michael Connors wrote:
>
> New site made with cake. http://www.morguefile.com
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this mes
Make a directory somewhere on your drive, say its
/user/me/projects/site. Download and unzip cakephp and put its contents in
that folder site.
open MAMP/conf/apache/httpd.conf
add a virtual host at the bottom
DocumentRoot "*/user/me/projects/site/app/webroot*"
ServerName *mysite.local*
Rewrit
New site made with cake. http://www.morguefile.com
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-ph
I am new to CakePHP. I am trying to understand the models.
I have Accounts that BelongsTo Contacts and Phones.
the Contacts also BelongsTo Phones
Phones BelongsTo PhoneType
PhoneType hasMany Phones
What I want to do is View an Account and get the list of Phones and the *name
of the Phone typ
So my website will have a time line, along with dates that range before 0
AD. What would be the best way to tackle this issue?
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help
This is from the docs:
"The saveAll function is just a wrapper around the saveMany and
saveAssociated methods. it will inspect the data and determine what type of
save it should perform. If data is formatted in a numerical indexed array,
saveMany will be called, otherwise saveAssociated is used."
Yes. Events hasMany Feedings(events_feedings) & Characters
(characters_events), and they belongTo the Event.
On Tue, Jul 10, 2012 at 3:30 PM, Harsha M V wrote:
> what are the relations of the models ? does Events hasMany with feedings
> and characters ?
>
>
>
> --
> Our newest site for the comm
When I pass this array to my saveAll function, the events get saved
but the feeding and the character do not. Is there an issue with
multiple levels of indexed arrays? Would I be better off trying to
save them individually?
array(
(int) 0 => array(
'Event' => array(
No on knows how to solve this issue? I have a few very complicated work
arounds, but every time I end up implementing such work arounds, it always
comes back to the fact that I was doing it wrong originally.
~Michael
On Fri, Jul 6, 2012 at 12:09 AM, Michael Gaiser wrote:
> So I am having s
7;order'=>array('Event.start_date ASC')
);
$events = $this->paginate($conditions);
This is the error I get:
*Error: *SQLSTATE[42S22]: Column not found: 1054 Unknown column
'Feeding.event_id' in 'field list'
I have looked around, some solutions I hav
t; The ajax call should call some controller method that searches for and
> returns the cities (in the selected state) in json for example. Once it has
> completed you populate the select box.
> You will need to do this on every change of the "State" field.
>
>
> On Monday,
together. Thanks
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr
e a ton of records to edit.
Thanks
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email t
So I have a table called Domains which has a parent_id allowing the domains
to contain a parent/child relationship, the parent being referred to as
ParentDomain.
For the case I am working on, the ParentDomain has a variable called
chronicle_id. The condition I want to make will get all domains whe
Its not in front of me at the moment, but I can mock up what I mean.
array(
'Domain' => array(
'name' => 'Foo',
'parent_id' => '85'
),
'Owner' => array(
'color' => '#123456',
'clan_id' => '32'
)
)
This would be valid since clan_id (character_id, coterie_id & covenant_id
bei
validation rules to add based on the data supplied.
>
>
>
> On Friday, June 8, 2012 10:13:31 AM UTC+2, Michael wrote:
>>
>> So I need to check that at least one field out of four is being set
>> before I will allow to save. The validation rule works great as long as you
http://book.cakephp.org/2.0/en/tutorials-and-examples.html
Run through those and you should be off to a good start.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their Ca
Well, you might have an issue if Bar is not properly setup to point at
Xyxxy since it needs that connection to retrieve the data. I would do a
find on Bar and see if it locates both Foo and Xyzzy.
On Fri, Jun 8, 2012 at 12:43 PM, simo ahalshaba wrote:
> u can use 3 but the request get much infor
Helpers are for views, If you care wanting to call it in your model, you
are doing something wrong as it does not conform to the MCV methodology. I
would suggest looking into behaviors as those are traditionally used to
share code between models.
~Michael
On Thu, Jun 7, 2012 at 10:36 AM
So I need to check that at least one field out of four is being set before
I will allow to save. The validation rule works great as long as you have
something sent to it, but since all the option fields have an empty slot,
it would be easy to pass an array with all the right bits of info for that
t
So, I have a domain model that has a parent/child relationship with itself
going about 6 levels deep. Certain levels have some additional data I need
to store(owner_id, chronicle_id, etc) but these values are only on the
bottom most level. Is it better to have the domain table have a owner_id
and a
All the tables that involve the users modifying data are set to innoDB for
the increased data integrity. I originally wasnt giving the saveAll any
arguments, but tried to set 'Validate'=>'first' as I saw in one example and
that didnt work either.
I finally got the errors propagating back to my vie
So I have a form in my domains/add view. All the domain input fields
save their data just fine when the form is submitted. The problem is
that there is another field (Characters.0.character_id) that is to
save its data to an hasMany associated join model (CharactersDomain).
In the CharactersDomain
ok. i figured it out. The models being saved can be accessed in the
validation rule through $this->data.
On Wed, Jun 6, 2012 at 10:29 AM, Michael Gaiser wrote:
> I guess my question is: How do you get access to all the other
> associated data that is being saved? I can set it up so I
Yeah, I see it now. Apologies to Bill.
To be fair to Bill Michael, it was Johns responses to the initial question
> that mentioned "Shitty Code" and "Shitty Data" ... I think Bill may have
> been making a point in much the same way as you have :)
>
>
--
O
abase setup, it might also not be the proper forum
for such a discussion to the degree you are looking for as a MySQL forum
might get you closer to your goal.
On the other hand, if you have some shitty code questions to ask, we would
be happy to help.
~Michael
--
Our newest site for the com
I guess my question is: How do you get access to all the other
associated data that is being saved? I can set it up so I catch it
before the save happens, but it feels kind of hacky and does not make
use of the field error message code.
--
Our newest site for the community: CakePHP Video Tutorial
You probably are looking for something like this.
Employee
Name
Age
Hired
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with the
ine.
>
>
> On Jun 5, 2012, at 5:45 PM, Michael Gaiser wrote:
>
>> I have a Domain Model that has 4 "has Many" relationships with 4
>> different join models (Character, Clan, Covenant, Coterie). When
>> creating a new record, the user is presented with 4 optio
Just like any other .html file.
~Michael
On Tue, Jun 5, 2012 at 9:40 PM, ying yang wrote:
> My question is how i can make a table in view.ctp?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Q
I have a Domain Model that has 4 "has Many" relationships with 4
different join models (Character, Clan, Covenant, Coterie). When
creating a new record, the user is presented with 4 option boxes, each
filled with different data pertaining to the 4 associated models but
defaulting to an empty option
Am Freitag, 25. Mai 2012 21:24:57 UTC+2 schrieb Michael:
>
> Would there be any issue with the fact that I am running it from my
> local host instead of from my host?
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questio
I meant my Location Model, not Controller.
On Sat, May 26, 2012 at 9:22 AM, Michael Gaiser wrote:
> When is says:
>
> 2. Add the following to your model:
>
> public $useDbConfig = 'geoNames';
> public $useTable = false;
>
>
>
> Does that go in my L
; keep my model from accessing its DB table?
Thanks.
~Michael
On Sat, May 26, 2012 at 12:33 AM, Simon Males wrote:
> Data source for the GeoNames service:
>
> https://github.com/signified/CakePHP-GeoNames-DataSource
--
Our newest site for the community: CakePHP Video Tutorials
http://
Would there be any issue with the fact that I am running it from my
local host instead of from my host?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
Am Freitag, 25. Mai 2012 09:56:06 UTC+2 schrieb Michael:
>
> So I have been trying to get this to work but still cannot seem to
> work through it.
>
> I am using this version:
> https://github.com/dereuromark/cakephp-google-map-v3-helper
>
> And following this explanation:
. Any help would be most
welcome. Thanks in advance.
~Michael
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this g
Cake Version 2.1
PHP 5.3.10
MySQL version 5.0.95 (cpanel server) 5.1.62 (dev server)
Apache version 2.2.22 (cpanel server) 2.2.20 (dev server)
cpanel server version 11.32.2 (redHat 5.8) (problem child)
dev server version Ubuntu 11.10 (works perfectly)
My problem is very specific, when I issue fin
Have you changed your security salt setting since you first entered in
original password? If so your passwords hash will not match.
Sent from my iPhone
On 2012-05-18, at 8:49 AM, rahajiyev wrote:
> When user enters his current password for verification it compares
> unequal to his real password
the road. Then bake out your models, controllers and views and see where
that puts you. All in all, get your feet wet.
~Michael
Sent from my iPhone
On 2012-05-11, at 7:20 PM, Kevin Mitchell wrote:
Hello. Let me say upfront, thank you for any offering time and expertise to
help.
I've fin
Yes. Just add the config in database.php then assign your model to that
connection.
Sent from my iPhone
On May 11, 2012, at 5:42 AM, "rahaji...@bankofbaku.com"
wrote:
> Hi, all. Can I use more than one database connection in Cake 1 or 2?
> There's an existing remote Oracle database that will
pty result sets
> and therefore it would just be an empty array
>
>
> Am Dienstag, 8. Mai 2012 18:55:10 UTC+2 schrieb Michael:
>>
>> So sometimes the results for my model finds seem to very between the
>> two formats:
>>
>> $results['Faction'] = ar
So sometimes the results for my model finds seem to very between the
two formats:
$results['Faction'] = array()
and
$results['Faction'] = array('id'=>null, 'name'=>null)
What determines the two? I would prefer that it always give me the
listed fields with null values, but I am unsure what is g
I'm not an expert on routes, either. But I would start here to find
out.Routing Cookbook
v2<http://book.cakephp.org/2.0/en/development/routing.html>
Sincerely,
Michael Stelly
mobile: +1.918.978.2000
skype: mjstelly
LinkedIn <http://www.linkedin.com/in/mstelly>
On Tue, May 8
Thanks for the tip. I'll check it when I get back to the office.
Sincerely,
Michael Stelly
mobile: +1.918.978.2000
skype: mjstelly
LinkedIn <http://www.linkedin.com/in/mstelly>
On Mon, May 7, 2012 at 6:11 PM, lowpass wrote:
> Are these models associated with each other? If
1 - 100 of 296 matches
Mail list logo