[fw-general] Are the PDF or online docmentation updated?

2009-09-21 Thread iceangel89
how often are the PDF and online versions of the documetation updated? -- View this message in context: http://www.nabble.com/Are-the-PDF-or-online-docmentation-updated--tp25530543p25530543.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Zend_Tool and modules

2009-08-31 Thread iceangel89
ok created an improvement issue http://framework.zend.com/issues/browse/ZF-7743. i hope its done ok, its my 1st time adding an issue Ralph Schindler-2 wrote: Thats a good point, can you open an improvement issue for it? Thanks, Ralph iceangel89 wrote: i noticed Zend_Tool still does

[fw-general] Provide web.config when creating projects in zend tool?

2009-08-29 Thread iceangel89
since zend server supports iis, i suppose zend framework should support that also. i think providing a web.config for iis users will be useful -- View this message in context: http://www.nabble.com/Provide-web.config-when-creating-projects-in-zend-tool--tp25202794p25202794.html Sent from the

[fw-general] Zend_Tool and modules

2009-08-29 Thread iceangel89
i noticed Zend_Tool still does not handle modules very well. 1. upon creation i think resources.frontController.moduleDirectory = APPLICATION_PATH /modules should be added to application.ini 2. Class names should be named with the Module prefix eg. Admin_IndexController -- View this

[fw-general] Possible to Read/Preview fonts?

2009-07-27 Thread iceangel89
in PHP/Zend Framework isit possible to read font info (actual font name) and preview it? in an image for example? maybe its better to do this in a desktop app? but still, possible in PHP? -- View this message in context:

Re: [fw-general] Implementing Modules

2009-06-25 Thread iceangel89
anyone? iceangel89 wrote: how will u implement modules? i am refering to modules as in, in a page, usually there will be - a section for main content - other modules eg. login, member area, latest news etc. - these will appear depending of which part (module, controller, action

[fw-general] Implementing Modules

2009-06-21 Thread iceangel89
how will u implement modules? i am refering to modules as in, in a page, usually there will be - a section for main content - other modules eg. login, member area, latest news etc. - these will appear depending of which part (module, controller, action) of the site eg. i want to display all

[fw-general] Re[fw-general] sources with out Namespaces

2009-06-14 Thread iceangel89
can i have resources without namespaces? like i may not want my Models to have namespaces so i can refer to it by $model1-findParentModel2() rather than $model1-findParentApp_Model_Model2() i am not sure if the syntax is right, but u get what i mean -- View this message in context:

[fw-general] Iterating a Tree

2009-06-11 Thread iceangel89
if i have a table like Nodes === id name parent (ref Nodes.id) how shld i iterate thru it? i am using PHP. wondering if theres an efficient way ... i did it something like pre mysql_connect(localhost, root); mysql_select_db(test); $arr = array(); $sql = SELECT * FROM nodes WHERE

Re: [fw-general] General - Web Development Frameworks

2009-06-11 Thread iceangel89
requires way too much boilerplate code, in my opinion. Perhaps most importantly, Rails' biggest advantage is Ruby itself. PHP as a language just doesn't compare. Anyway, both frameworks are good, but in different ways. -Matt On Mon, Jun 8, 2009 at 10:10 PM, iceangel89 comet2...@gmail.com

Re: [fw-general] Zend Framework - Flash AS3 Web Site

2009-06-11 Thread iceangel89
anyone? iceangel89 wrote: hmm any tips or tutorials on that i guess i use Zend_Amf ... but hmm i will not be using MVC anymore right? just normal procedural programming? or is there any frameworks or practices? AS3 has classes too maybe i need to map them to ZF Classes/Models? i am

[fw-general] Many Similar Forms with Many Form Fields

2009-06-11 Thread iceangel89
pnbsp;i have this application that requires many forms that in each has alot of form elementsbrbr =http://img193.imageshack.us/my.php?image=tmpmgv.png brbrhow will u design the DB for it? because there are many similar forms, but similar only, not the same. so if i design properly, i shld have 1

RE: [fw-general] Iterating a Tree

2009-06-11 Thread iceangel89
i replied in his blog also ... but i also post here ... i dont really get what is the left right columns for Razorblade wrote: I use this class from Hector Virgen http://blog.virgentech.com/2009/06/zenddbtable-enhancements.html Sergio Rinaudo Date: Thu, 11 Jun 2009 03:15:12

Re: [fw-general] Zend_CodeGenerator_Php_Property Array

2009-06-09 Thread iceangel89
yay great! Ralph Schindler-2 wrote: I should be able to tackle this soon. -- View this message in context: http://www.nabble.com/Zend_CodeGenerator_Php_Property---Array-tp23922419p23954802.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] User Registration and Login Management Module - Best Practice Blueprint or Example for 1.8

2009-06-09 Thread iceangel89
there are classes for Authentication and ACL that u can use. i have tried using them but now they seem alittle wierd to use. as in the Zend_Auth provides the Identity which i think is the user id or name i cant rmb but they shld include a usergroup field for use with Zend_Acl. plus i must always

[fw-general] Zend Framework - Flash AS3 Web Site

2009-06-09 Thread iceangel89
hmm any tips or tutorials on that i guess i use Zend_Amf ... but hmm i will not be using MVC anymore right? just normal procedural programming? or is there any frameworks or practices? AS3 has classes too maybe i need to map them to ZF Classes/Models? i am thinking of making a Flash AS3 - ZF web

Re: [fw-general] Zend_CodeGenerator_Php_Property Array

2009-06-08 Thread iceangel89
i also wanted to do something similar ... to generate models from MySQL infomation_schema http://www.nabble.com/Zend_CodeGenerator-arrays-as-property-to23694912.html#a23719003 http://www.nabble.com/Zend_CodeGenerator-arrays-as-property-to23694912.html#a23719003 the workaround posted there

[fw-general] General - Web Development Frameworks

2009-06-08 Thread iceangel89
i am using Zend Framework now, but hear that Ruby on Rails is great, speeds up development and all. ASP.NET MVC is also out. i am looking at these alternatives to see what they offer but will like some of ur opinions what might be some of the advantages/disadvantages of each? like in terms of

Re: [fw-general] Security - Preventing SQL Injections, XSS etc

2009-06-07 Thread iceangel89
oh Matthew Weier O'Phinney mentioned that ... i meant when escaping for SQL this time. vince. wrote: You could use $this-view-escape -- View this message in context: http://www.nabble.com/Security---Preventing-SQL-Injections%2C-XSS-etc-tp23900449p23909053.html Sent from the Zend

Re: [fw-general] Zend Server + IIS7.5 + Zend Framework (HTACCESS)

2009-06-07 Thread iceangel89
anyone uses IIS7 with Zend Framework? iceangel89 wrote: i have installed Zend Server with integration for IIS7.5. now i need to get ZF working... i think i am missing htaccess i am trying to use http://learn.iis.net/page.aspx/460/using-url-rewrite-module/ i dunno if it will work

Re: [fw-general] [General] Windows vs Web Apps

2009-06-03 Thread iceangel89
of Apache. -- Mon On Tue, Jun 2, 2009 at 8:26 PM, iceangel89 comet2...@gmail.com wrote: i know this maybe a wrong forum to post this but i like to know what PHP/ZF developers think abt this i just develop a web app that was supposed to be a replacement for a school's inventory management

[fw-general] Zend Server in Apache vs IIS

2009-06-03 Thread iceangel89
i just learnt from http://www.nabble.com/-General--Windows-vs-Web-Apps-to23831570.html that Zend Server is not a replacement for WAMP/MAMP except having Apache replaced with Zend Server. and that its a stack that integrates with Apache/IIS ... so great. but now whats somethings we shld know abt

Re: [fw-general] [General] Windows vs Web Apps

2009-06-03 Thread iceangel89
between PHP on Apache vs IIS and intergration of each with Zend Server? i think 1 of them is IIS cannot do htaccess? but thats for anothrer topic ... i think? http://www.nabble.com/Zend-Server-in-Apache-vs-IIS-to23850691.html Matthew Weier O'Phinney-3 wrote: -- iceangel89 comet2...@gmail.com

Re: [fw-general] set plugin directory in application.ini

2009-06-03 Thread iceangel89
i wonder if autoloading can be done inside application.ini. or can all things that can be configured (without any logic processing of course) inside bootstrap.php be converted to an application.ini equivalent? so that we dont need to configure somethings in application.ini some in bootstrap.php?

[fw-general] DB Exceptions - shld include whole SQL

2009-06-02 Thread iceangel89
sometimes when exception happen, i would like more info ... like when DB queries fail ... the stack trace don't seem to helpful to me. i think the full SQL that failed shld be outputted ... don't u think? -- View this message in context:

[fw-general] [General] Windows vs Web Apps

2009-06-02 Thread iceangel89
i know this maybe a wrong forum to post this but i like to know what PHP/ZF developers think abt this i just develop a web app that was supposed to be a replacement for a school's inventory management system which was originally developed in MS Access. i was quite embarassing actually ... after

[fw-general] Auditing DB Modifications

2009-06-02 Thread iceangel89
how do u do auditing for DB modifications? like in a DB table with alot of fields i want to know how changed which fields when and from what value to what value. i guess to do this i need to know if the field has been updated but how do i do this efficiently? or how is auditing (audit trails)

Re: [fw-general] Problem setting up ZF app in Linux Server

2009-06-01 Thread iceangel89
anyone? how come i get no POST params when i submit the form to the linux server? iceangel89 wrote: seems like now it works because of the .htaccess actually but now $this-getRequest()-isPost() is null??? i used FireBug to see whats happening ... i get correct post data going

Re: [fw-general] What documentation do I need?

2009-06-01 Thread iceangel89
my suggestion is pick up some basic PHP 1st. i am also new to Zend Framework, i wont say i am an expert in PHP either but working with ZF ok. except maybe it slows me down a little becos of the learning curve. nature of ZF ... hmm i use it mainly with the MVC structure ... dunno if this is the

[fw-general] ZF - Not in Site Root

2009-05-31 Thread iceangel89
i want to put my ZF apps in my online portfolio... but i am nt sure how to do it... because on my windows development machine i can configure virtual directories ... on the web ... nt sure if i can do that ... i have a free cpanel hosting ... but if i cant what are my options? can i get

[fw-general] Problem setting up ZF app in Linux Server

2009-05-31 Thread iceangel89
i developed my ZF app in Windows ... WAMP ... then when i try to set it up in server, i get 404 not found. like because i had a frontController plugin that will prompt user for login 1st ... so it seems thats working ... but the redirect went to the correct page /auth/login but it says thats not

Re: [fw-general] Problem setting up ZF app in Linux Server

2009-05-31 Thread iceangel89
seems like now it works because of the .htaccess actually $this-getRequest()-isPost() is null??? keith Pope-4 wrote: 2009/5/31 iceangel89 comet2...@gmail.com: i developed my ZF app in Windows ... WAMP ... then when i try to set it up in server, i get 404 not found. like because i had

Re: [fw-general] Zend_CodeGenerator arrays as property

2009-05-26 Thread iceangel89
someone please? i think using codegenerator to generate models is much more efficient ... iceangel89 wrote: i am trying to use Zend_CodeGenerator to generate my models from my MySQL db so far this is what i got ... class My_blogentries { protected $_primary = 'array('id

Re: [fw-general] Navigation Breadcrumbs Helper not displaying

2009-05-25 Thread iceangel89
this part 'action' = 'index' //i corrected this part )); /pre But still the same behavior. br I am using ZF 1.8.1. iceangel89 wrote: what page are you on? maybe also try echo $this-navigation()-breadcrumbs()-render()-setMinDepth

Re: [fw-general] Zend_CodeGenerator arrays as property

2009-05-25 Thread iceangel89
anyone out there? for CodeGenerator? iceangel89 wrote: i am trying to use Zend_CodeGenerator to generate my models from my MySQL db so far this is what i got ... class My_blogentries { protected $_primary = 'array('id')'; } as u can see i cant have a array for the property

[fw-general] Re[fw-general] liable Transport

2009-05-25 Thread iceangel89
i need to develop an app that works even if the internet is down ... its a POS ... the current system setup is outlets having all individual localhost systems and all these will upload data of the day to HQ - syncing. but this is also not good as if the internet goes down during syncing, there

[fw-general] Zend_CodeGenerator arrays as property

2009-05-24 Thread iceangel89
i am trying to use Zend_CodeGenerator to generate my models from my MySQL db so far this is what i got ... class My_blogentries { protected $_primary = 'array('id')'; } as u can see i cant have a array for the property ... and how can i add extends Zend_Db_Table Abstract also? -- View

Re: [fw-general] Navigation Breadcrumbs Helper not displaying

2009-05-24 Thread iceangel89
what page are you on? maybe also try echo $this-navigation()-breadcrumbs()-render()-setMinDepth(0); wenbert wrote: Hi iceangel89, Thanks, I have this code in layout.phtml for testing: pre lang=php $pages = array( array( 'label' = 'Home', 'title' = 'Go Home

Re: [fw-general] [abit offtopic ...] Any integration with Paypal?

2009-05-23 Thread iceangel89
hmm i better wait for it to be more stable 1st shldnt play with payments ... Colin Guthrie-6 wrote: 'Twas brillig, and iceangel89 at 23/05/09 05:18 did gyre and gimble: i am starting with creating a site that integrates with paypal. does zend framework has any integration with paypal

Re: [fw-general] [abit offtopic ...] Any integration with Paypal?

2009-05-23 Thread iceangel89
brillig, and iceangel89 at 23/05/09 14:07 did gyre and gimble: hmm i better wait for it to be more stable 1st shldnt play with payments ... Well it needs people to use it and work with it for it to become stable :) -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie

[fw-general] Zend_Navigation: Breadcrumbs for home page missing

2009-05-23 Thread iceangel89
when i go to something like Home Register, home is there as a link, when i click home to goto /, there is not breadcrumbs ... why is this so? and menu view helper does not seem to work for MVC pages? -- View this message in context:

Re: [fw-general] Modules not working in Zend_Tool app

2009-05-22 Thread iceangel89
i put the folders: models views controllers into the modules folder and it works. thats acceptable isit? but i had the default controller, models views folders in /application b4. whats causing this? i am using the trunk version of ZF iceangel89 wrote: i created an App using Zend_Tool

[fw-general] how do u do docs for ur zend framework app?

2009-05-22 Thread iceangel89
is there any tool to document ZF at the same time generate diagrams eg. ERD, class diagrams etc? phpDocs is one. but its not really for diagramming? which helps. -- View this message in context: http://www.nabble.com/how-do-u-do-docs-for-ur-zend-framework-app--tp23668976p23668976.html Sent

[fw-general] [abit offtopic ...] Any integration with Paypal?

2009-05-22 Thread iceangel89
i am starting with creating a site that integrates with paypal. does zend framework has any integration with paypal? or is there any guides to help me get started? was looking in paypal sandbox site ... still playing arnd with it. -- View this message in context:

[fw-general] Zend_Tool creating controllers in modules

2009-05-21 Thread iceangel89
how can i create controllers in modules? -- View this message in context: http://www.nabble.com/Zend_Tool-creating-controllers-in-modules-tp23662950p23662950.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Modules not working in Zend_Tool app

2009-05-21 Thread iceangel89
i created an App using Zend_Tool with modules but it keeps going 404 when i try to go http://myapp/modulename and says i try to go to CONTROLLER module name, so it takes the modulename as my controller, even when i try http://myapp/modulename/index/index it fails -- View this message in

[fw-general] Using ZF without MVC

2009-05-21 Thread iceangel89
i used ZF with MVC and find that it slows development down abit cos i am learning. but i feel some classes like Zend_Db is great. but how can i use it without MVC? i shld need to autoload classes for ZF? how can i do that? -- View this message in context:

Re: [fw-general] how to access bootstrap resource (DB) from Zend_Form class?

2009-05-16 Thread iceangel89
thanks AZEL wrote: i think it is: Zend_Db_Table::getDefaultAdapter() On Thu, May 14, 2009 at 7:53 AM, iceangel89 comet2...@gmail.com wrote: i need to get my DB from my Zend_Form class anyway to do that? and in general, how is the best way to get my db? like in validators or filters

Re: [fw-general] Navigation Breadcrumbs Helper not displaying

2009-05-15 Thread iceangel89
u still need to create something like a sitemap. http://framework.zend.com/manual/en/zend.navigation.containers.html#zend.navigation.containers.creating wenbert wrote: Is the built-in breadcrumbs helper supposed to work out-of-the-box?br / I have tried to do this in my layout and views

[fw-general] Adding content into Zend_Form

2009-05-15 Thread iceangel89
is there a way to add some HTML into some place in the Zend_Form? like say form action= method= pSome instructions/p form elements pSome instructions/p form elements /form where some instructions can be say links or text etc. i am thinking description may work but if the text i

Re: [fw-general] Validation only if a form element is true (checkbox)

2009-05-15 Thread iceangel89
info: http://www.nabble.com/Zend_Form-and-elements-chain-validation-td22083142.html On Thu, May 14, 2009 at 2:53 AM, iceangel89 comet2...@gmail.com wrote: i want to validate an item as required only if a checkbox is checked. do i need to use a custom validator or is there a way to do

[fw-general] Validation only if a form element is true (checkbox)

2009-05-14 Thread iceangel89
i want to validate an item as required only if a checkbox is checked. do i need to use a custom validator or is there a way to do this? -- View this message in context: http://www.nabble.com/Validation-only-if-a-form-element-is-true-%28checkbox%29-tp23535945p23535945.html Sent from the Zend

[fw-general] Going to last page of Zend_Paginator

2009-05-13 Thread iceangel89
if i am using the Zend_Paginator. is there a way of going to the last page? cos the latest record will be on the last page without sorting -- View this message in context: http://www.nabble.com/Going-to-last-page-of-Zend_Paginator-tp23522942p23522942.html Sent from the Zend Framework mailing

[fw-general] how to access bootstrap resource (DB) from Zend_Form class?

2009-05-13 Thread iceangel89
i need to get my DB from my Zend_Form class anyway to do that? and in general, how is the best way to get my db? like in validators or filters? -- View this message in context: http://www.nabble.com/how-to-access-bootstrap-resource-%28DB%29-from-Zend_Form-class--tp23534307p23534307.html Sent

Re: [fw-general] Breadcrumbs

2009-05-11 Thread iceangel89
i saw that but it seems my code is still not working... the breadcrumbs is working but menu is not monk.e.boy wrote: iceangel89 wrote: anyone? http://framework.zend.com/manual/en/zend.navigation.html -- View this message in context: http://www.nabble.com/Breadcrumbs

Re: [fw-general] Zend_Navigation menu active page not working ...

2009-05-10 Thread iceangel89
anyone have Zend_Navigation_Page_Mvc menu working correctly? even if i am in /labs and the breadcrumbs tells me i am in /lab, my menu() does not. iceangel89 wrote: Robin Skoglund wrote: You're creating a URI page, but giving it MVC params. You probably meant to create

Re: [fw-general] Zend_Navigation Request Parameters

2009-05-10 Thread iceangel89
did i do something wrong? anyone? iceangel89 wrote: i am using Zend_Navigate like http://code.google.com/p/anderson-sec-ims/source/browse/trunk/application/configs/navigation.php ... $categories = new Zend_Navigation_Page_Mvc(array( 'label' = 'Categories', 'module' = 'lab

Re: [fw-general] DB Models Relationships - AutoLoad dependent and parent classes

2009-05-10 Thread iceangel89
haha ok thanks. hope it gets fixed fast. then i can remove the plugin that calls all models class... probably not an efficient way to do things Matthew Weier O'Phinney-3 wrote: -- iceangel89 comet2...@gmail.com wrote (on Saturday, 09 May 2009, 09:29 PM -0700): no way to fix

[fw-general] Adding Zend_Application_Module_Bootstrap file causes application to fail

2009-05-09 Thread iceangel89
i get Connection Interrupted The connection to the server was reset while the page was loading. The network link was interrupted while negotiating a connection. Please try again. when i add a Bootstrap.php in my modules/modulename dir. i also have a line resources.modules = in

[fw-general] Determine moduleName from view

2009-05-09 Thread iceangel89
is there a way for my view to know which module its in? or what i want to do is a search form that appears in all pages but when its in say the lab module, i want to search only lab related tables. i am thinking of adding a hidden field so that somehow when i am in lab module, i populate the

Re: [fw-general] Adding Zend_Application_Module_Bootstrap file causes application to fail

2009-05-09 Thread iceangel89
stable release 2009/5/9 iceangel89 comet2...@gmail.com i get Connection Interrupted The connection to the server was reset while the page was loading. The network link was interrupted while negotiating a connection. Please try again. when i add a Bootstrap.php in my modules

Re: [fw-general] Determine moduleName from view

2009-05-09 Thread iceangel89
ok i used Zend_Controller_Plugin to do this... any critiques? ?php class IMS_Plugin_Search extends Zend_Controller_Plugin_Abstract { function preDispatch(Zend_Controller_Request_Abstract $request) { if (!$request-isPost()) { $module = $request-getModuleName();

[fw-general] Bug with latest Version? Autoloading does not work

2009-05-09 Thread iceangel89
i have the latest trunk version 15449. and i noticed that in my bootstrap even with $labRsxLoader-addResourceType('form', 'forms/', 'Form') -addResourceType('validator', 'validators/', 'Validator') -addResourceType('filter', 'filters/', 'Filter')

[fw-general] Zend_Navigation Request Parameters

2009-05-09 Thread iceangel89
i am using Zend_Navigate like http://code.google.com/p/anderson-sec-ims/source/browse/trunk/application/configs/navigation.php ... $categories = new Zend_Navigation_Page_Mvc(array( 'label' = 'Categories', 'module' = 'lab', 'controller' = 'categories', 'action' = 'index',

RE: [fw-general] Bug with latest Version? Autoloading does not work

2009-05-09 Thread iceangel89
then it shld be fixed ... but i also noticed something strange... if i do a new Lab_Model_Department() it works. it only fails if i nv call that b4 i do something like $cat-findParent(Lab_Model_Department); Razorblade wrote: Hi, I had the same problem and I solved renaming my model

Re: [fw-general] Adding routes with application.ini

2009-05-09 Thread iceangel89
just wondering what do these 2 lines do? resources.router.routes.lab.defaults.id = 1 resources.router.routes.lab.reqs.id = \d+ Matthew Weier O'Phinney-3 wrote: -- iceangel89 comet2...@gmail.com wrote (on Wednesday, 29 April 2009, 02:25 AM -0700): how can i add routes

[fw-general] DB Models Relationships - AutoLoad dependent and parent classes

2009-05-09 Thread iceangel89
i noticed that autoloading does not work when i just do a $this-view-cat-findParentRow(Lab_Models_Departments); i must do something like new Lab_Models_Departments(); //probably to trigger autoloading? $this-view-cat-findParentRow(Lab_Models_Departments); can i fix this? maybe this only

Re: [fw-general] DB Models Relationships - AutoLoad dependent and parent classes

2009-05-09 Thread iceangel89
() calls in Zend_Db_Table* classes. That method can only find PEAR-style classes in the include path. -- Mon On Sun, May 10, 2009 at 10:59 AM, iceangel89 comet2...@gmail.com wrote: i noticed that autoloading does not work when i just do a $this-view-cat-findParentRow

Re: [fw-general] Zend_Navigation menu active page not working ...

2009-05-08 Thread iceangel89
PLEASE anyone uses Zend_Navigation??? iceangel89 wrote: i have something like $reports = new Zend_Navigation_Page_Mvc(array( 'label' = 'Reports', 'module' = 'reports', 'controller' = 'index', 'action' = 'index' )); $misc = new Zend_Navigation_Page_Mvc(array

Re: [fw-general] Zend_Navigation menu active page not working ...

2009-05-08 Thread iceangel89
THANKS! Robin Skoglund wrote: You're creating a URI page, but giving it MVC params. You probably meant to create a Zend_Navigation_Page_Mvc page. -- View this message in context: http://www.nabble.com/Zend_Navigation-menu-active-page-not-working-...-tp23420914p23457208.html Sent from

Re: [fw-general] Breadcrumbs

2009-05-08 Thread iceangel89
anyone? iceangel89 wrote: i currently have breadcrumbs like an application to manage Departments (eg. Physics, Bio ...) Departments have Categories (eg. Electricity, Test Tubes ...) Categories have Items (eg. ...) so ... Departments Categories Items ... is what i have now

[fw-general] Zend_Navigation menu active page not working ...

2009-05-07 Thread iceangel89
i have something like $reports = new Zend_Navigation_Page_Mvc(array( 'label' = 'Reports', 'module' = 'reports', 'controller' = 'index', 'action' = 'index' )); $misc = new Zend_Navigation_Page_Mvc(array( 'label' = 'Misc', 'module' = 'misc', 'controller' = 'index',

Re: [fw-general] Extending Zend Framework classes

2009-05-07 Thread iceangel89
what abt other classes? like Zend_Validate? Giorgio Sironi wrote: 2009/5/5 iceangel89 comet2...@gmail.com function __construct($var1, $var2 ...) {} with as many variables as i like? will my constructor affect the default behaviour of the class? eg. function filter($var1, $var2

[fw-general] Re[fw-general] ndering all errors on a Zend_Form in 1 ul

2009-05-07 Thread iceangel89
how can i render all errors of a form in something that i can have in my Zend_Form? if possible not to do that in my controller and passing arrays to my view to render them and so on... so like a place in the form allocated for error display. -- View this message in context:

[fw-general] Get Resources (DB) from Controllers

2009-05-07 Thread iceangel89
how can i access resources like the default db adapter from my controllers? -- View this message in context: http://www.nabble.com/Get-Resources-%28DB%29-from-Controllers-tp23428523p23428523.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Zend_Navigation menu active page not working ...

2009-05-07 Thread iceangel89
anyone? the active page is always at home ... iceangel89 wrote: i have something like $reports = new Zend_Navigation_Page_Mvc(array( 'label' = 'Reports', 'module' = 'reports', 'controller' = 'index', 'action' = 'index' )); $misc = new Zend_Navigation_Page_Mvc(array

[fw-general] Finding active module/controller

2009-05-07 Thread iceangel89
how can i know the active module/controller thats running so i can set view parameters? to make my nav show which link shld be active? Zend_Navigation menu is not working correctly for me yet. so this will be a workaround 1st. anyway its good to know. -- View this message in context:

Re: [fw-general] Getting view from Bootstrap (ZF1.8)

2009-05-06 Thread iceangel89
Ionut Gabriel Stan-2 wrote: Why do you need to access the view object in the bootstrap? i want to add zend_navigation to my application. so i need to do a $view-navigation($nav); so probably i do that in bootstrap? or somewhere else? -- View this message in context:

Re: [fw-general] Getting view from Bootstrap (ZF1.8)

2009-05-06 Thread iceangel89
Matthew Weier O'Phinney-3 wrote: You're likely looking for Zend_Layout::getMvcInstance(), not startMvc(). hmm then how do i get the view object? i am actually trying to add $view-navigation($nav); to the view so i can breadcrumbs. is this the right thing to do? Matthew Weier

[fw-general] Breadcrumbs

2009-05-06 Thread iceangel89
i currently have breadcrumbs like an application to manage Departments (eg. Physics, Bio ...) Departments have Categories (eg. Electricity, Test Tubes ...) Categories have Items (eg. ...) so ... Departments Categories Items ... is what i have now but can i do something like Departments

Re: [fw-general] Getting view from Bootstrap (ZF1.8)

2009-05-06 Thread iceangel89
that request is stored in the bootstrap registry so i can do a $this-getResource('request')? Jurian Sluiman wrote: Op Wednesday 06 May 2009 16:14:30 schreef iceangel89: THANKS!!! ppl here are GREAT!!! just for my understanding ... $this-bootstrap(view); is to? bootstrap view. if i dun

[fw-general] Zend_Navigation menu using partials

2009-05-06 Thread iceangel89
i read that i can control the way my Zend_Navigation menu by partials http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.navigation.menu Example 60.40. Rendering a custom menu using a partial view script but i only got the 1st root item IMS i setup my

[fw-general] Adding elements to Display Group

2009-05-05 Thread iceangel89
i am adding elements dynamically using data from a database so i did something like $this-addDisplayGroup(array('item'), labAllocation, array( 'legend' = 'Lab Allocation' )); foreach ($labs as $lab) { $this-getDisplayGroup(labAllocation)-addElement(new Zend_Form_Element_Text(lab- .

[fw-general] Set attribs of Zend_Form_Element upon creation

2009-05-05 Thread iceangel89
can i do a new Zend_Form_Element_Text(txt, array( 'class' = 'textbox' )); for example? -- View this message in context: http://www.nabble.com/Set-attribs-of-Zend_Form_Element-upon-creation-tp23382203p23382203.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Validating based on more than 1 inputs

2009-05-05 Thread iceangel89
lightflowmark wrote: The isValid function also takes an optional 'context' parameter which is an array of all the values submitted. public function isValid($value, $context = null) { if(($context['box1'] + $context['box2'] + $context['box3']) $someValue) { // error } } for this

[fw-general] Validation not working ...

2009-05-05 Thread iceangel89
i found out that validation only works if the $this-t = new ... (t ...) both names must be the same $this-t = new Zend_Form_Element_Text(t, array ( ... 'validators' = array('Int', new Lab_Validator_AllocationBalance()) )); how can i fix this? cos i am dynamically adding elements to a

Re: [fw-general] Validation not working ...

2009-05-05 Thread iceangel89
iceangel89 wrote: i found out that validation only works if the $this-t = new ... (t ...) both names must be the same ^ ^ $this-t = new Zend_Form_Element_Text(t, array

[fw-general] Zend_Application_Module_Autoloader does not run?

2009-05-05 Thread iceangel89
i have something like ... ?php class Lab_Bootstrap extends Zend_Application_Module_Autoloader { function _initApp() { $view = Zend_Layout::startMvc()-getView(); $view-labClass = current; die(); } } am trying to set a variable in my view when i am in a specific

[fw-general] Navigations Layout

2009-05-05 Thread iceangel89
i want to do something like when i am in a specific page (or action/controller) i want some sub-nav rendered how can i do that? i got a main layout.phtml file for my whole app i am thinking maybe i add a ?= $this-subnav ? where i want the sub nav to be then set it in my controller action?

Re: [fw-general] Custom Validators

2009-05-04 Thread iceangel89
oh i think its because i tried to use protected $_messageVariables = array( 'maxValue' = 0 ); but how can i use messageVariables? iceangel89 wrote: you are right, the validator is not called. i added it in my Zend_Form class $this-broken = new Zend_Form_Element_Text

Re: [fw-general] One-to-Many Screencast on Zendcasts

2009-05-04 Thread iceangel89
woo, great work! its been quite awhile -- View this message in context: http://www.nabble.com/One-to-Many-Screencast-on-Zendcasts-tp23371882p23379702.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Custom Validators

2009-05-04 Thread iceangel89
ok solved. to use %value% i need $this-_setValue($somevalue) public $var_name = 123; protected $_messageVariables shld be = array ( 'maxValue' = 'var_name' // Declared in public $var_name = 123; ) iceangel89 wrote: oh i think its because i tried to use protected $_messageVariables

Re: [fw-general] How do i customise error messages?

2009-05-04 Thread iceangel89
anyone? iceangel89 wrote: i tried $this-broken-setErrorMessages(array(isEmpty = Broken is required, notAlpha = Not Alpha)); but i get both errors as long as 1 validator fails. and i dont think its a good idea to hardcode the isEmpty and stuff? i shld use the constants defined

[fw-general] Zend Framework - Slower

2009-05-04 Thread iceangel89
i noticed that my Zend Framework application is slower than say an app i develop in normal PHP. maybe becos Zend Framework does more stuff in the bg. any way i can optimise my Zend Framework app? or PHP in general? is there a minification for PHP or something? -- View this message in context:

Re: [fw-general] Custom Validators

2009-05-03 Thread iceangel89
): Zend_Application_Bootstrap_Bootstrap-run() #9 D:\Projects\zf-ims\public\index.php(26): Zend_Application-run() #10 {main} thanks alot for ur fast replies, helped me alot! :) Matthew Weier O'Phinney-3 wrote: -- iceangel89 comet2...@gmail.com wrote (on Sunday, 03 May 2009, 04:13 AM -0700): hmm i just wrote

[fw-general] How do i customise error messages?

2009-05-03 Thread iceangel89
i tried $this-broken-setErrorMessages(array(isEmpty = Broken is required, notAlpha = Not Alpha)); but i get both errors as long as 1 validator fails. and i dont think its a good idea to hardcode the isEmpty and stuff? i shld use the constants defined in the class? whats the right way of

[fw-general] Forms in Table

2009-05-03 Thread iceangel89
i want to decorate my form in a table something like http://www.nabble.com/How-render-Zend_Form-to-html-table--td15299082.html except in the following format ++--+---+ | label |label | label | ++--+---+ |element| element | element

[fw-general] Re: Re[fw-general] move/Edit Decorators from Form Elements (eg. submit/hidden)

2009-05-02 Thread iceangel89
Matthew Weier O'Phinney-3 wrote: $form-addElement('submit', 'submit', array( 'ignore' = true, 'required' = false, 'decorators' = array( 'ViewHelper', ), )); It sounds to me like you may benefit from my recent decorators

[fw-general] Zend_Paginator with Query Strings

2009-05-02 Thread iceangel89
Zend_Paginator is working if i dont have any query strings however when i have a query string say /lab/departments/1 ^ zend paginator wont work. how i i fix this? -- View this message in context:

[fw-general] Query Strings Zend Routes ...

2009-05-02 Thread iceangel89
hmm sometimes i find it abit messy and a pain to keep defining routes for query strings. sometimes query strings maybe optional... say i may want to pass some defaults to fill up a form for example. so sometimes i may do a ... in a normal app ?id=1dept=2val=3 sometimes ?id=1val=6 so it

  1   2   >