Try this http://www.symfony-project.org/api/1_4/sfAction#method_getcredential
On 30 čvn, 14:49, Donald wrote:
> I'm trying to determine what sfGuardPermission was required for an
> action, from within the action. Is this possible?
>
> myModule/config/security.yml:
>
> show:
> credentials: view
I think you can do this in the doUpdateObject() method of the form
class
something like that:
protected function doUpdateObject($values)
{
// implode the age
$values['age_separation'] == $this->implodeAge($values);
parent::doUpdateObject($values);
}
On 30 čvn, 11:08, Dantes wrote:
> Hi
Problem with automatic refilling file input is due to the security -
it's restricted by browsers. (think about what can happen if you could
change the file path...you can stole files from the users computer
easily.)
So if you'll google you'll find many topics where people complain
about this...and
I do not know much about your application but usually it is not a good
strategy to cache pages or partials accessible only to one user.
Usually these type of pages are not highly traffic-ed (compared to
public pages) and the cache will not be hit so many times (compared to
public pages).
If those
On Wed, 30 Jun 2010, Richtermeister wrote:
> I have an app with 2 usergroups (admins and dealers), and dealers can
> fall into 3 brands. Those two factors affect the content of certain
> lists. Now, I'd like to cache certain sections, but of course I need
> to still worry about who sees what, and
Hi all,
I have an app with 2 usergroups (admins and dealers), and dealers can
fall into 3 brands. Those two factors affect the content of certain
lists. Now, I'd like to cache certain sections, but of course I need
to still worry about who sees what, and I'm thinking that in theory
this should be
No luck - I configured apc.stat = 0 this morning and still saw the
issue occurring 2 hours later.
Then I disabled APC completely - and it still happens! I'm beginning
to think it's a problem in apache or PHP because if I open several
links from a page into separate tabs in rapid succession, at le
Hi,
I just noticed that the documentation is not up to date. You need to
enable the validator like this in config.yml:
web.config:
validation: true
Bernhard
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this messag
$object -> toArray(BasePeer::TYPE_FIELDNAME) returns the array you're
looking for.
For more reference, check this:
http://propel.posterous.com/getting-to-know-propel-15-when-you-really-nee
On Jun 30, 6:14 am, HAUSa
wrote:
> Is there a way in Symfony / Propel to get an object as array?
>
> User:
hi,
this solution does't meet my need because i need a input select with "plus"
in side when click open the form in new window or modal window to after
inserted data return this data to re-populate input select with this data
like django related field i send before email. I'm search one widget or
I have an up-to-date copy of the Symfony2 sandbox and I'm working
through the various guides, but I'm having trouble with the Validation
guide.
I get an exception 'The service "validator" does not exist.', using
$validator = $this->container->getValidatorService(); or $validator =
$this->container
that's strange...
try to add
apc.stat=0
this will stop checking file modification time, maybe it can help...
just if you change any php file, you have to manually clear apc cache
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You r
Is there a way in Symfony / Propel to get an object as array?
User:
- id
- nickname
- email_address
- password
Instead of using $user->getNickname() I want to do something like
$user['nickname'] or $user->getField('nickname')
--
If you want to report a vulnerability issue on symfony, pl
It did not work.
Returns the message: *Invalid schema element named "generatePath" at path
"Bo" *
*
*
*
*
Att.
2010/6/30 Tom Ptacnik
> try generatePath: parameter in the schema.yml
>
>
> http://groups.google.com/group/symfony-devs/browse_thread/thread/124582b39dd19a55
>
>
> On 29 čvn, 14:29,
btw: with your new release 1.4.3 this is fixed now.
thanks a lot for the cool plugin. works like a charme :-)
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "s
Merci de votre message.
Je suis présentement absent du bureau. Je serai de retour le 5 juillet 2010.
L'accès à mes courriels pourrait être limité durant cette période.
En cas d'urgence, veuillez contacter Tisha au 514 987-9992 #150 ou par courriel
à ti...@twistimage.com.
Cordialement,
Saad T
I'm trying to determine what sfGuardPermission was required for an
action, from within the action. Is this possible?
myModule/config/security.yml:
show:
credentials: view something
myModule/actions/actions.class.php:
class myModuleActions extends sfActions {
public function executeShow(sfRe
We're running our symfony 1.4 app on:
dedicated server
RHEL 5.x 64bit
8 GB Ram
Mysql 5.0.x
APC 3.1.13p1 (latest, compiled from source)
PHP 5.3.1
Apache 2.2.3
APC is enabled with the following settings:
extension=apc.so
apc.enabled=1
apc.shm_size=64
We enabled Doctrine_Cache_Apc in ProjectConfigur
Probably each of them will have their own install for now.
I took a look at ez components that has a workflow component. But I need
to spend a lot more time on it to understand what it actually does and from
there on, how it could be used in our case.
2010/6/30 Georg
> I too would be very
Hi,
I am using sfDoctrineGardPlugin for both the applications frontend and
backend. Login for backend is happening through stock login screen that
comes with plugin. Since frontend has completely different UI and login form
is displayed on all pages minus 'remember me', I cannot use login form tha
try generatePath: parameter in the schema.yml
http://groups.google.com/group/symfony-devs/browse_thread/thread/124582b39dd19a55
On 29 čvn, 14:29, Romeu Godoi wrote:
> English
> Hello everyone!
>
> I am migrating some projects from S
This is how i create filter for joined table..
class sfDtProduktFormFilter extends BasesfDtProduktFormFilter
{
public function configure()
{
$this->widgetSchema['title'] = new sfWidgetFormFilterInput();
$this->validatorSchema['title'] = new sfValidatorPass();
}
public function get
I too would be very interested in a workflow engine/builder of some
kind. Has anybody realised any part of this in a project?
@Sebastien: Do you want to run all sub company custom processes in one
symfony installation, or does each sub company receive their own
installation?
BR Georg
Am 30.06.20
Hi everyone!
First of all, before I forget I use symfony v. 1.2.9. Please, do not
suggest me to upgrade as my client's application is in use during the
holidays and I am going to update after the holiday's season
finishes. ;)
I think that my problem is quite simple, unfortunately the solution is
24 matches
Mail list logo