View properties cannot be load for view id:
/home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/UI/View.php (283)
0264: *
0265: * @return array
0266: */
0267: public function getProperties()
0268: {
0269:
0270: if (!is_array($this->properties)) {
0271:
0272: /* @var $select System_Data_Statement_Select */
0273: $select = System::instance('System.Data.Statement.Select');
0274: $select->from('View');
0275: $select->where('viewId = ?', $this->getViewId());
0276:
0277: $connection = $this->getApplication()->getConnection();
0278: $result = $connection->query($select);
0279:
0280: if ($result->getNumRows()) {
0281: $this->properties = $result->getRow()->toArray();
0282: } else {
0283: throw new System_Exception ("View properties cannot be load for view id: ". $this->getViewId());
0284: }
0285: }
0286:
0287: return $this->properties;
0288:
0289: }
0290:
0291: /**
0292: * Retourneert de waarde van de opgegeven eigenschap
0293: *
0294: * @param string $property
0295: */
0296: public function getProperty($property)
0297: {
0298:
0299: if (!is_array($this->properties)) {
0300: $this->getProperties();
0301: }
0302:
0303: if (isset($this->properties[$property])) {
#0 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/UI/View.php(300): System_Web_UI_View->getProperties()
#1 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/UI/View.php(505): System_Web_UI_View->getProperty('viewDataSourceI...')
#2 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Content/Data.php(19): System_Web_UI_View->getViewDataSourceId()
#3 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Content.php(56): System_Content_Data->getDataProvider(Object(System_Content))
#4 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Content.php(155): System_Content->getDataProvider()
#5 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Content.php(171): System_Content->setAttributes()
#6 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Content.php(165): System_Content->get('layoutId')
#7 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/Controller/Frontend.php(86): System_Content->__get('layoutId')
#8 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/Controller/Frontend.php(114): System_Web_Controller_Frontend->setLayout()
#9 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/Controller/Frontend.php(66): System_Web_Controller_Frontend->getLayout()
#10 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Web/Service.php(123): System_Web_Controller_Frontend->run()
#11 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/System/Application.php(333): System_Web_Service->run()
#12 /home/bloemend/domains/bloemendaal-ruigrok.nl/public_html/index.php(23): System_Application->run()
#13 {main}