Hello Diogo,
So, it seems to me that you need to create a Service Oriented Architecture
(SOA) in order to facilitate seamless communication for these three
different
modules (User and Permission management, Projects, and Financing) kind of
like what Amazon did and I would also be looking into
I have a pretty simple pair of objects, Photo and Album, defined as follows:
class Album extends Model {
public $name = 'Album';
public $hasMany = array(
'Photo' = array(
'className' = 'Photo',
'order' = 'Photo.order ASC'
)
);
}
class Photo extends Model {
public
Hi,
My custom controller ' PostsController.php' and inside this a have given
the following code :---
public function isAuthorized($user = null) {
// parent::isAuthorized($user);
if($this-action == 'add'){
return true;
}
Ok I must be doing something wrong on my checkbox validation because its
always invalid
Snip of validation:
'agever' = array(
'notEmpty' = array(
'rule' = array('equalTo', 'yes'),
'required' = true,
'message' = 'We require you to be over 13 to register without a
Parent.'
)
),
Hi everybody. I'm getting crazy with a very small webservice. From client
side I'm making a POST request with cURL, sending a post field called
userid.
Something like:
CURLOPT_POSTFIELDS = array('loginid' = 'MyLoginData123').
On the server side, $this-request-data is empty since the request is
On Tue, Jul 30, 2013 at 6:50 AM, WhyNotSmile sharongilmor...@gmail.com wrote:
I have a pretty simple pair of objects, Photo and Album, defined as follows:
class Album extends Model {
public $name = 'Album';
public $hasMany = array(
'Photo' = array(
'className' = 'Photo',
'order'
Why are you not using 0/1 (the numeric representation of boolean
false/true) here?
Would make your life so much easier. And the validaiton rule here.
Also, boolean checkboxes by default would use those values anyway if you
let them.
Am Dienstag, 30. Juli 2013 18:14:53 UTC+2 schrieb Eric
Hi all, please help with error in cakephp 2.3.8 my default page into a
fresh instalation of cakephp in a System OS/400 Power7 report the next
error:
FileEngine Object
[_File:protected]= SplFileObject Object
error complete here:
http://bin.cakephp.org/saved/106039
PHP VERSION: 5.4.16
APACHE