)
'path' = string '../application/views/filters'
(length=28)
spaceage wrote:
Joe--I have to study this more closely, but from the table you have
provided, it would appear that certain assumptions are being made by the
autoloader I'm not aware of...too bad this table isn't in the docs
Thanks, that was the trick...addHelperPath assumes 'View_Helper' appended to
the namespace prefix sent as second parameter.
dmitrybelyakov wrote:
spaceage wrote:
Hi,
I'm trying to get a custom view helper to work...
...
Why the exception?
Hi,
I think the class name should
Hi,
I'm trying to get a custom view helper to work...
In my views/helpers dir, I have a helper, CartVitals.php. It defines a
class My_CartVitals and has a single public function, cartVitals().
In my bootstrap, I have the following _init:
protected function _initViewHelperPath()
I have a new project set up via Zend_Tool...the directory structure is
totally standard:
/application
bootstrap.php
/configs
/controllers
/layouts
/models
/views
/library
/public
index.php
My include_path is set entirely in index.php:
,
Vladas Diržys
On Thu, Jun 11, 2009 at 22:40, spaceage davi...@mac.com wrote:
I have a new project set up via Zend_Tool...the directory structure is
totally standard:
/application
bootstrap.php
/configs
/controllers
/layouts
/models
/views
/library
/public
So did you just put the path(s) to the dirs you want autoloading for in
application.ini?
I tried this, ie:
includePaths.library = APPLICATION_PATH /../library
includePaths.models = APPLICATION_PATH /models
which does result in my include_path getting set appropriately, but
autloading is still
for each path in the include_path? Is this correct? Docs aren't
very clear on this...
joedevon wrote:
spaceage wrote:
Its the default structure as setup by Zend_Tool:
/application
bootstrap.php
/configs
/controllers
/layouts
/models
/views
/library
:
spaceage wrote:
My include path is (1) the library dir where ZF is located, (2) the
/application/models dir and (3) .
You don't need /application/models in the path. Remove the line that sets
it. It's just adding an extra path to slow down the system a bit.
I'm a little unclear when
/forms,
right? After all, if my code runs when I do a simple require_once with path
to my class file, then the issue has to be incorrect autoloader path(s),
doesn't it?
joedevon wrote:
spaceage wrote:
class Model_LoginForm extends Zend_Form
Oops, yeah you're using Zend_Form. that goes
.
joedevon wrote:
spaceage wrote:
I should add that 'model' and 'models' were being used interchangeably in
both of our posts, and I've updated everything to be 'models'/'Models'
throughout...
I don't know how I missed this post...I wasn't using model and models
interchangeably...You
I'm somewhat new to mod_rewrite and am hoping somebody here has already
solved this problem.
I use an .htaccess in my root dir as follows:
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css|swf|xml|avi|flv|mov|mp3|wav|pdf)$
index.php
I want to add another condition which requires/forwards
I'm having a strange issue with Zend_Session where I am assigning a string
and an object to the same Session Namespace. The object will persist, but
the string won't...I open/start the namespace in init() since I need access
to the session data throughout my controller. I then assign the
)...
spaceage wrote:
I'm having a strange issue with Zend_Session where I am assigning a string
and an object to the same Session Namespace. The object will persist, but
the string won't...I open/start the namespace in init() since I need
access to the session data throughout my controller. I
deserialization.
http://www.php.net/~helly/php/ext/spl/interfaceSerializable.html
http://us.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.sleep
-Matt
On Mon, Nov 3, 2008 at 11:03 AM, spaceage [EMAIL PROTECTED] wrote:
I'm struggling with object persistence in sessions...sorry
automatic aspect is that serialize() called on an object
calls
its __sleep() method.
b) Not sure. I'll let Ralph or someone else answer that question.
-Matt
On Mon, Nov 3, 2008 at 12:52 PM, spaceage [EMAIL PROTECTED] wrote:
Matt--thanks for your reply.
So, I think I'm clear about
I'm in the early stages of designing a site with the framework and trying to
understand more fully the url/routing interaction.
Assuming the standard routing behavior of:
[URI]/controller/action/var1/value1/var2/value2
what if I want to pass vars/params using a default and/or omitted (index)
spaceage wrote:
So this Z...C...R approach would route all requests to a single
controller
and action, no? But what if I want to allow something like this (but not
always):
[URI]/controller/var1/value1/var2/value2
while still allowing the standard:
[URI]/controller/action/var1/value1/var2
What is the max point size for font rendering supported in the Zend_Pdf
component? Illustrator currently supports a max of 1296pt (18 height). Is
this the case for Zend_Pdf also, or is there some other upper limit?
Thanks, David
--
View this message in context:
Hi--I'm evaluating Zend_Pdf for use in a new project. Is there a way to
image a PDF as jpeg or gif, ie. for generating a preview image of the actual
PDF doc? Thanks!
--
View this message in context:
http://www.nabble.com/Zend_Pdf-document-imaging-and-previewing-tp18095814p18095814.html
Sent
Awesome, thanks for the quick response.
Kevin McArthur-2 wrote:
You can use imagick in pecl for this. It will be interfaced in Zend_Pdf
in a future version.
Here's a tutorial http://valokuva.org/?p=7
K
spaceage wrote:
Hi--I'm evaluating Zend_Pdf for use in a new project
20 matches
Mail list logo