A list of open source webapps to study ?

2012-12-05 Thread Emanuele Santoro
Hi,
i am studying CakePHP and I would like to read some web apps source code in 
order to see how to implement certaint functionalities common to a lot of 
webapps.

Could anyone link me some open source web application written using CakePHP?

Thanks in advance,

Emanuele Santoro

-- 
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 this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




validation messages

2010-07-09 Thread emanuele
Hello pals, I ve my own validation method. The method checks three fields.
Is there any possibility  to customize the message of error depending on the
failure condtions? For istance:

function myfunc(a, b, c) {
if(!a)
set a message for a;
elseif(!b) set a message for b;
elseif(!c) set a message for c;
}

thanks in advance
-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


xls extension.

2010-06-30 Thread emanuele
hello fellows,

is there any possibility to parse an url with xls extensions? Ive tried with
pdf it works, but If I try with xls nothing happens.
In my routes.php

Router::parseExtensions('pdf', 'xls');

Router::connect(
'/mcontrollers/view/:id',
array('controller' = 'mcontrollers', 'action' = 'view'),
array(
'pass' = array('id')
)
);

the link

echo $html-link('Export in xls', array('controller' = 'mcontrollers',
'action' = 'view', 'id' = $id , 'ext' = 'xls'))

I ve also tried to set the content type with requesthandler component but,
again, nothing happens ($this-RequestHandler-setContent('xls'
,'application/vnd.ms-excel');)!

thanks in advance.

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: xls extension.

2010-06-30 Thread emanuele
sorry.. putting in beforFilter the requestHandler it works? Can somebody
explain me why?

On Wed, Jun 30, 2010 at 3:04 PM, emanuele emanuel...@gmail.com wrote:

 hello fellows,

 is there any possibility to parse an url with xls extensions? Ive tried
 with pdf it works, but If I try with xls nothing happens.
 In my routes.php

 Router::parseExtensions('pdf', 'xls');

 Router::connect(
 '/mcontrollers/view/:id',
 array('controller' = 'mcontrollers', 'action' = 'view'),
 array(
 'pass' = array('id')
 )
 );

 the link

 echo $html-link('Export in xls', array('controller' = 'mcontrollers',
 'action' = 'view', 'id' = $id , 'ext' = 'xls'))

 I ve also tried to set the content type with requesthandler component but,
 again, nothing happens ($this-RequestHandler-setContent('xls'
 ,'application/vnd.ms-excel');)!

 thanks in advance.

 --
 Emanuele Gringeri
 Computer Engineer
 University of Pisa
 Be my mirror, my sword and shield




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: components

2010-06-10 Thread emanuele
yes It is. But I dunno why the behaviour is different. In my app it's like
the override of components happens and
only the 'local' components it is available. What's do u think about?

thanks in advance.

On Thu, Jun 10, 2010 at 3:48 PM, John Andersen j.andersen...@gmail.comwrote:

 I am not sure what you asked for, but I will give it a try anyway :)

 If you define a component in the AppController, then the component
 will be available for all Controllers.
 If you define a component in a specific Controller, then the component
 will only be available in that Controller. The components defined in
 the AppController will also be available to the Controller.

 Was this what you were asking for?
 Enjoy,
   John


 On Jun 10, 4:39 pm, emanuele emanuel...@gmail.com wrote:
  Hello fellows,
  I want to share same components between controllers and I want some local
 to
  single controller.  If I re-define $components locally to the controller,
  cake performs the override or the array_merge of the global and local
  components variable?
 
  thanks in advance
 
  --
  Emanuele Gringeri
  Computer Engineer
  University of Pisa
  Be my mirror, my sword and shield

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: components

2010-06-10 Thread emanuele
thanks dude. it works. damn it.
On Thu, Jun 10, 2010 at 6:17 PM, euromark dereurom...@googlemail.comwrote:

 its

 var $components = array('Session');

 and everything works fine (cake1.3)


 On 10 Jun., 17:27, emanuele emanuel...@gmail.com wrote:
  For instance:
 
  class AppController extends Controller {
  var $components = array('Cookie', 'Email');
  ...
 
  }
 
  class DummiesController extends AppController {
  var $components = 'Session';
 
  function beforeFilter() {
   parent::beforeFilter();
 
  }
 
  
 
  }
 
  On Thu, Jun 10, 2010 at 5:22 PM, John Andersen j.andersen...@gmail.com
 wrote:
 
 
 
   Please show the code on how you define the components in both the
   AppController and in a Controller in which you have this issue!
   Enjoy,
 John
 
   On Jun 10, 4:55 pm, emanuele emanuel...@gmail.com wrote:
yes It is. But I dunno why the behaviour is different. In my app it's
   like
the override of components happens and
only the 'local' components it is available. What's do u think about?
 
thanks in advance.
 
   [snip]
 
   Check out the new CakePHP Questions sitehttp://cakeqs.organd help
 others
   with their CakePHP related questions.
 
   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, send email to
   cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en
 
  --
  Emanuele Gringeri
  Computer Engineer
  University of Pisa
  Be my mirror, my sword and shield

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


IpV6

2010-06-09 Thread emanuele
Hello fellows, is there any chance to validate an IP v6? Can u please give
some hint?
thanks in advance

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: IpV6

2010-06-09 Thread emanuele
good hint. Just following the book I ve the following rules in the model
 var $validate  = array(
'ipV4Address' = array(
'rule' = 'ip',
'message' = 'Please supply a valid IP v4
address.'
),
'ipV6Address' = array(
'rule' = 'validateIpV6Address',
'message' = 'Please supply a valid IP v6
address'
),
'identifier' = array(
'rule' = 'alphaNumeric',
'message' = 'Please provide a valid identifier'
)

);


function validateIpV6Address($ip) {
return Validation::ip($ip, 'IPv6');
}

$ip contains a valid ipV6 address but false is always returned. What's wrong
with my code?

thanks in advance

On Wed, Jun 9, 2010 at 1:24 PM, euromark dereurom...@googlemail.com wrote:

 http://book.cakephp.org/view/142/ip
 is a little bit outdated

 ip does validate BOTH by default!

 var $validate = array(
'clientip' = array(
'rule' = 'ip',
'message' = 'Please supply a valid IP address.'
)
 );

 but Validation::ip($check, 'ipv6') wou


 On 9 Jun., 12:50, emanuele emanuel...@gmail.com wrote:
  Hello fellows, is there any chance to validate an IP v6? Can u please
 give
  some hint?
  thanks in advance
 
  --
  Emanuele Gringeri
  Computer Engineer
  University of Pisa
  Be my mirror, my sword and shield

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Question about Routing (domain.com/{cityname}/controller/action)

2010-05-25 Thread emanuele
Router::connect('/:alias/:controller/:action/*',
array(),
array(
'persist' = array('alias'),
));


On Tue, May 25, 2010 at 10:32 AM, Bennet Jeutter
bennet.jeut...@gmail.comwrote:

 Hallo everyone,

 I got a question about routing:
 I'm developing a project, which is based on cities.
 So i want to have URLs like 
 domain.com/{cityname}/controller/actionhttp://domain.com/%7Bcityname%7D/controller/action
 .
 Example: domain.com/frankfurt/people/view/3

 The Controller and Actions should be for alle Cities the same, I would
 catche the city in the AppController for use in the Controllers.

 Is there any way to do this?

 Best regards,
  Bennet Jeutter

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Routes

2010-05-24 Thread emanuele
Hello pals,

I can't really figure out one thing about Routes..

My url is something like localhost/acme/mycontroller/myaction.. my question
is how can I remap the previous url in something like
localhost/mycontroller/myaction using route?

I ve added the following line in routes.php
Router::connect('/:alias/:controller/:action',
array(),
array(
'alias', '[a-zA-z0-9]+')
);

but it dosen't seem really work..

thanks in advance
-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Validate REST input

2010-05-23 Thread Emanuele Gringeri
On 05/21/10 18:51, Henrik Gemal wrote:
 I have a controller which is being called with different paramters
 like:
 /test/do?start=2010-01-01end=2011-01-01test=1super=8

 Now I like to user cake to validate the input parameters. How do I do
 that?

 I like to specify that start and end are dates and test is numeric and
 super is also numeric.

 Can CakePHP do this?

 I'm not saving the parameters into a database so I cant just use $this-
   
 save($data)
 
 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php?hl=en
   
can u try saveAll(.., array('validate' = 'only')?

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


data validations

2010-05-20 Thread emanuele
hello cakers,

 I m stucked with a simple issue regarding data validations. Suppose that I
ve a model named A:
After I submit data, my $this-data would be so composed.

eg
$this-data[A][B][email] = 'aa';
$this-data[A][B][url] = 'www.aa.com';

I wanto to check both fields. In model i ve defined
  var $validate = array(
'B' = array(
'rule' = 'check',
'message' = 'error'
)
);

fuction check() {

}

When check returns false only the 'e' of error it is printend... when am I
wrong?
Secondo question. Is there any possibility to customize the error message,
one different for email and url eg?

thanks in advance and sorry for the newb questions.
-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: data validations

2010-05-20 Thread Emanuele Gringeri
Thanks for ur answer, but for some reason I have to manage data like
$this-data[A][B][email]

thanks
emanuele
On 05/20/10 16:59, John Andersen wrote:
 If your model is named A, then your data structure should be:

 [code]
 $this-data[A][email] = 'aa';
 $this-data[A][url] = 'www.aa.com';
 [/code]

 And your validation rules for the A fields, should be:

 [code]
 var $validate = array(
'email' = array(
   'rule' = 'email',
   'message' = 'Please correct your e-mail address'
),
'url' = array(
   'rule' = 'check_url',
   'message' = 'Please correct your internet address'
)
 );
 [/code]

 Please do read the CakePHP chapter on validation, at:
 http://book.cakephp.org/view/125/Data-Validation

 Enjoy,
John

 On May 20, 7:39 pm, emanuele emanuel...@gmail.com wrote:
   
 hello cakers,

  I m stucked with a simple issue regarding data validations. Suppose that I
 ve a model named A:
 After I submit data, my $this-data would be so composed.

 eg
 $this-data[A][B][email] = 'aa';
 $this-data[A][B][url] = 'www.aa.com';

 I wanto to check both fields. In model i ve defined
   var $validate = array(
 'B' = array(
 'rule' = 'check',
 'message' = 'error'
 )
 );

 fuction check() {

 }

 When check returns false only the 'e' of error it is printend... when am I
 wrong?
 Secondo question. Is there any possibility to customize the error message,
 one different for email and url eg?

 thanks in advance and sorry for the newb questions.
 --
 Emanuele Gringeri
 Computer Engineer
 University of Pisa
 Be my mirror, my sword and shield

 Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php?hl=en
 
 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php?hl=en
   




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


datasources and function query

2010-05-18 Thread emanuele
Hello cake's fellows,

looking at datasource documentation I can't figure out what I can do if I
want to call actions different by read/create/update/delete. Previously I
had realized that declaring a function query($action, $args) actions
different by which before mentioned are processed by this method. Where can
I found some documentation about?

thanks in advance

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


CakeTestCase and Session

2010-05-11 Thread emanuele
Hello fellows, running a test i got the following issue

Notice: Undefined property: ::$Session

Session has been imported and, if I run the application on firefox it works,
running a test no. Is there something else that I need to import in order to

use $Session during the test?

thanks in advance and sorry for the stupidity of my questions.

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


datasource and component

2010-05-06 Thread emanuele
hello fellows,
 data obtained from a read overidden in a datasource can be returned to a
call (find) defined in a component?
thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


httpSocket-request

2010-04-29 Thread emanuele
Hi fellows, I was wandering if I need to use urlencode() in order to fill
the $request array for the httpSocket-request method. Any Idea?

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


datasoruces hierarchical

2010-04-29 Thread emanuele
Hi,
Is it possible to create  hierarchicy datasoruces?

I ve the following situation:

class MyDataS1 extends Datasource {
}

and want a secondo datasource

class MyDataS2 extends MyDataS1{
}

any chance to have it working?

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: datasoruces hierarchical

2010-04-29 Thread emanuele
ok sorry... but A bit less of sarcasm?
so..
thank u
On Thu, Apr 29, 2010 at 5:46 PM, AD7six andydawso...@gmail.com wrote:



 On Apr 29, 5:25 pm, emanuele emanuel...@gmail.com wrote:
  Hi,
  Is it possible to create  hierarchicy datasoruces?
 
  I ve the following situation:
 
  class MyDataS1 extends Datasource {
 
  }
 
  and want a secondo datasource
 
  class MyDataS2 extends MyDataS1{
 
  }
 
  any chance to have it working?

 Unbelievably and after years of tireless development I found a project
 that has exactly this functionality! http://bit.ly/ae7v9K

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Unsupported operand types

2010-04-28 Thread emanuele
Could somebody provides me some information about = $options +=
array('inline' = true);
I found it in cake/libs/view/helpers/html.php 337 and return the
Unsupported operand types error. Maybe is something related to php and its
version?

thanks in advance?
-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Unsupported operand types

2010-04-28 Thread emanuele
Sorry..

HtmlHelper::css() no longer has an $inline parameter. Use
$options['inline']instead

:)
On Wed, Apr 28, 2010 at 10:44 AM, emanuele emanuel...@gmail.com wrote:

 Could somebody provides me some information about = $options +=
 array('inline' = true);
 I found it in cake/libs/view/helpers/html.php 337 and return the
 Unsupported operand types error. Maybe is something related to php and its
 version?

 thanks in advance?
 --
 Emanuele Gringeri
 Computer Engineer
 University of Pisa
 Be my mirror, my sword and shield




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


wadl

2010-04-28 Thread emanuele
hello guys, somebody knows if there is some way to convert a wadl file into
a php array.. By the time I was going through some stuff, inspiration hits
my mind and, you know..

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Vendors and Controller

2010-04-27 Thread emanuele
is there any chance to use my own component in my own datasource (
/app/models/datasources/ I need for rest).
thanks in advance

On Mon, Apr 26, 2010 at 9:18 PM, Emanuele Gringeri emanuel...@gmail.comwrote:

 what's the difference between a component and a vendor?
  If you're going to do that you should of written a component instead
 
  On Apr 26, 8:17 am, emanuele emanuel...@gmail.com wrote:
 
  ok thank u
 
  On Mon, Apr 26, 2010 at 4:59 PM, euromark dereurom...@googlemail.com
 wrote:
 
 
 
 
  thats not how your vendors are supposed to work
  you usually pass them the data manually
 
 
  like $MyVendorClassObject-doSomething($this-data)
 
 
  On 26 Apr., 12:58, emanuele emanuel...@gmail.com wrote:
 
  Hi guys, is there any chance to access the Controller-data array from
  a Vendors Class?
  I ve written my own class and I want to access some $variable defined
  at the controlloer/model layers.
  thanks in advance.
 
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp
 others
 
  with their CakePHP related questions.
 
 
  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, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group athttp://
 
  groups.google.com/group/cake-php?hl=en
 
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd help
 others
  with their CakePHP related questions.
 
 
  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, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.com
 cake-php%2bunsubscr...@googlegroups.comcake-php%252bunsubscr...@googlegroups.comFor
 more options, visit this group at
  http://groups.google.com/group/cake-php?hl=en
 
  --
  Emanuele Gringeri
  Computer Engineer
  University of Pisa
  Be my mirror, my sword and shield
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
 with their CakePHP related questions.
 
  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, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en
 
  Check out the new CakePHP Questions site http://cakeqs.org and help
 others with their CakePHP related questions.
 
  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, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en
 


 --
 Emanuele Gringeri
 Computer Engineer
 University of Pisa
 Be my mirror, my sword and shield




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


models save

2010-04-27 Thread emanuele
Hi guys,
 going through the code I can't really figure out how the model-save method
works. Are data  only pre-processed or are they both pre-processed and saved
(maybe a query)?
thanks in advance

-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Vendors and Controller

2010-04-26 Thread emanuele
Hi guys, is there any chance to access the Controller-data array from
a Vendors Class?
I ve written my own class and I want to access some $variable defined
at the controlloer/model layers.
thanks in advance.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Vendors and Controller

2010-04-26 Thread emanuele
ok thank u

On Mon, Apr 26, 2010 at 4:59 PM, euromark dereurom...@googlemail.comwrote:

 thats not how your vendors are supposed to work
 you usually pass them the data manually

 like $MyVendorClassObject-doSomething($this-data)


 On 26 Apr., 12:58, emanuele emanuel...@gmail.com wrote:
  Hi guys, is there any chance to access the Controller-data array from
  a Vendors Class?
  I ve written my own class and I want to access some $variable defined
  at the controlloer/model layers.
  thanks in advance.
 
  Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
 with their CakePHP related questions.
 
  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, send email to
  cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
   more options, visit this group athttp://
 groups.google.com/group/cake-php?hl=en

 Check out the new CakePHP Questions site http://cakeqs.org and help others
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en




-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Vendors and Controller

2010-04-26 Thread Emanuele Gringeri
what's the difference between a component and a vendor?
 If you're going to do that you should of written a component instead

 On Apr 26, 8:17 am, emanuele emanuel...@gmail.com wrote:
   
 ok thank u

 On Mon, Apr 26, 2010 at 4:59 PM, euromark dereurom...@googlemail.comwrote:



 
 thats not how your vendors are supposed to work
 you usually pass them the data manually
   
 
 like $MyVendorClassObject-doSomething($this-data)
   
 
 On 26 Apr., 12:58, emanuele emanuel...@gmail.com wrote:
   
 Hi guys, is there any chance to access the Controller-data array from
 a Vendors Class?
 I ve written my own class and I want to access some $variable defined
 at the controlloer/model layers.
 thanks in advance.
 
 
 Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
 
 with their CakePHP related questions.
   
 
 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group athttp://
 
 groups.google.com/group/cake-php?hl=en
   
 
 Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
 with their CakePHP related questions.
   
 
 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, send email to
 cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en
   
 --
 Emanuele Gringeri
 Computer Engineer
 University of Pisa
 Be my mirror, my sword and shield

 Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 athttp://groups.google.com/group/cake-php?hl=en
 
 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.

 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, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php?hl=en
   


-- 
Emanuele Gringeri
Computer Engineer
University of Pisa
Be my mirror, my sword and shield

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en