usly on my CentOS production server?
Thanks!
Zhu Ming
--
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 s
any guidance/direction would be very
helpful.
Thanks for any help in advance!
Zhu Ming
--
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
Hi,
I have set some rules in my DB, for example, some keys must be unique.
How can I throw exception generated by the DB when inserting invalid
entries?
For example, if 'email' in my DB is set to be UNIQUE and I want to add
a duplicate 'email', in MySQL, I will get something like:
#1062 - Dupl
Hi there,
I wonder if anybody here can do me a favor by sharing his/her
experience in debugging a Cake app by DBG (if you are using PhpED) or
Zend Debugger ( if you are using Zend Studio or PDT).
I have troubles in debugging, esp, breakpoints I set seem not work
properly. I am not sure if it bec
tml (introduced in the blog tutorial), as I never declare
it. Is it a global variable (global object?)? If yes, where is it
declared?
Many thanks,
On May 23, 2:31 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 5/23/07, Ming <[EMAIL PROTECTED]> wrote:
>
>
>
>
ECTED]> wrote:
> On May 23, 2007, at 3:27 PM, Ming wrote:
>
>
>
> > Hey John,
>
> > This script is from an app built on top of cakephp, and to maintain
> > this app is part of my new job. There are 557 files totally in app/
> > models, app/controllers, and a
;John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> It might help us if we knew what you were trying to do, or why you
> needed to know this...
>
> -- John
>
> On May 23, 2007, at 2:45 PM, Ming wrote:
>
>
>
> > Hi,
>
> > I am new to Cake
By the way, I tried to get help from capk's online API. But cake's API
interface is pretty different with those of Java, Pear, or CPAN.
Sounds need some time to get familiar with it.
On May 23, 1:45 pm, Ming <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to Cake and I hav
Hi,
I am new to Cake and I have a question.
For the file below (email.php), I do not understand where does the
"render" in
$this->controller->render($this->thtml) come from.
$controller ($this->controller) is a variable whose domain is limited
to this class. But it seems $this->controller is an
Hi there,
I am working to rewrite my perl codes by using php. About half of my
codes involve web automation (using LWP in Perl extensively).
Basically, my codes first submit some forms, follow some URLs based on
some regular expression patterns, analyze web pages to get some
contents, get some fe
Hi folks,
Could you please help me understand codes below? It is in a model
named Course. My question is: what does $data mean and where does
it come from?
Many thanks,
function prepData($data=null){
if (empty($data['data']['Course']['record_status'])) {
$data[
maybe useful for you,
http://paul-m-jones.com/blog/?p=236
On May 20, 10:03 pm, surendra <[EMAIL PROTECTED]> wrote:
> I am thinking of making a site like myspace,facebook(social
> networking) site. Is it all right to choose this framework. Is it
> scalable for such large scalable site?. Am I
emember, smart coders answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -Mensaje original-
> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
>
rt, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -Mensaje original-
> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
> de Ming
> Enviado el: Martes, 22 de Mayo de 2007 07:29 p.m.
> Para: Cake PHP
May I ask where does $data come from, what does it mean?
Thanks
On May 22, 3:22 pm, Ming <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> Could you please help me understand codes below? It is in a model
> named Course
>
> Many thanks,
>
> function prepData($dat
Where does $data come from?
On May 22, 3:22 pm, Ming <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> Could you please help me understand codes below? It is in a model
> named Course
>
> Many thanks,
>
> function prepData($data=null){
>
Many duplicates,
Google group did not work properly
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, s
Where does $data come from?
On May 22, 3:22 pm, Ming <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> Could you please help me understand codes below? It is in a model
> named Course
>
> Many thanks,
>
> function prepData($data=null){
>
Hi folks,
Could you please help me understand codes below? It is in a model
named Course
Many thanks,
function prepData($data=null){
if (empty($data['data']['Course']['record_status'])) {
$data['data']['Course']['record_status'] = $data['form']
['record_status
It is exactly my question (newbie to cake, too :) )
My application involves lots of communication with a remote server via
xml, just occasional local db operations.
On May 16, 8:20 pm, MarsDev <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am a newbie to cakePHP and the model-view-controller pattern
Hi,
I am a newbie to cake. I just read cake's manual and have a quick
question:
class User extends AppModel
{
// Its always good practice to include this variable.
var $name = 'User';
what does this $name mean? is it mandatory? Can I name it something
else? If I do not have this variabl
the Post in $this->Post refer
to the data model named Post or the var $name with name Post?
3)
In view, I have
The question is the same, does the Post here refer to the data model
named Post or the var $name with name Post?
Thanks a lot
Ming
--~--~-~--~~~---~--~--
22 matches
Mail list logo