text:
<?php

use yupe\components\WebModule;

class StoreModule extends WebModule
{
    const VERSION = '0.9.5';

    public $uploadPath = 'store';
    public $allowedExtensions = 'jpg,jpeg,png,gif';
    public $minSize = 0;
    public $maxSize;
    public $maxFiles = 1;
    public $assetsPath = 'application.modules.store.views.assets';
    public $defaultImage = '/images/nophoto.jpg';

    public function getDependencies()
    {
        return ['comment'];
    }

    public function getUploadPath()
    {
        return Yii::getPathOfAlias('webroot') . '/' . Yii::app()->getModule(
            'yupe'
        )->uploadPath . '/' . $this->uploadPath;
    }

    public function checkSelf()
    {
        $messages = [];

        return isset($messages[WebModule::CHECK_ERROR]) ? $messages : true;
    }

    public function getInstall()
    {
        if (parent::getInstall()) {
            @mkdir($this->getUploadPath(), 0755);
        }

        return true;
    }

    public function getEditableParams()
    {
        return [
            'uploadPath',
            'editor' => Yii::app()->getModule('yupe')->editors
        ];
    }

    public function getParamsLabels()
    {
        return [
            'uploadPath' => Yii::t(
                    'StoreModule.store',
                    'File uploads directory (relative to "{path}")', ['{path}' => Yii::getPathOfAlias('webroot').'/'.Yii::app()->getModule("yupe")->uploadPath]
                ),
            'editor' => Yii::t('StoreModule.store', 'Visual editor'),
            'defaultImage' => Yii::t('StoreModule.store', 'Default image')
        ];
    }

    public function getEditableParamsGroups()
    {
        return [
            '0.main' => [
                'label' => Yii::t('StoreModule.store', 'Images'),
                'items' => [
                    'uploadPath',
                    'defaultImage'
                ]
            ],
            '1.main' => [
                'label' => Yii::t('StoreModule.store', 'Visual editor settings'),
                'items' => [
                    'editor'
                ]
            ],
        ];
    }

    public function getNavigation()
    {
        return false;
    }

    public function getIsShowInAdminMenu()
    {
        return false;
    }

    public function getExtendedNavigation()
    {
        return [
            [
                'icon' => 'fa fa-fw fa-shopping-cart',
                'label' => Yii::t('StoreModule.store', 'Catalog'),
                'items' => [
                    [
                        'icon' => 'fa fa-fw fa-shopping-cart',
                        'label' => Yii::t('StoreModule.product', 'Products'),
                        'url' => ['/store/productBackend/index'],
                        'items' => [
                            [
                                'icon' => 'fa fa-fw fa-list-alt',
                                'label' => Yii::t('StoreModule.product', 'Product list'),
                                'url' => ['/store/productBackend/index']
                            ],
                            [
                                'icon' => 'fa fa-fw fa-plus-square',
                                'label' => Yii::t('StoreModule.product', 'Create product'),
                                'url' => ['/store/productBackend/create']
                            ],
                            [
                                'icon' => 'fa fa-fw fa-link',
                                'label' => Yii::t('StoreModule.product', 'Link types'),
                                'url' => ['/store/linkBackend/typeIndex']
                            ],
                        ],
                    ],
                    [
                        'icon' => 'fa fa-fw fa-list-alt',
                        'label' => Yii::t('StoreModule.type', 'Types'),
                        'url' => ['/store/typeBackend/index'],
                        'items' => [
                            [
                                'icon' => 'fa fa-fw fa-list-alt',
                                'label' => Yii::t('StoreModule.type', 'Types list'),
                                'url' => ['/store/typeBackend/index']
                            ],
                            [
                                'icon' => 'fa fa-fw fa-plus-square',
                                'label' => Yii::t('StoreModule.type', 'Create type'),
                                'url' => ['/store/typeBackend/create']
                            ],
                        ],
                    ],
                    [
                        'icon' => 'fa fa-fw fa-pencil-square-o',
                        'label' => Yii::t('StoreModule.attr', 'Attributes'),
                        'url' => ['/store/attributeBackend/index'],
                        'items' => [
                            [
                                'icon' => 'fa fa-fw fa-list-alt',
                                'label' => Yii::t('StoreModule.attr', 'Attributes list'),
                                'url' => ['/store/attributeBackend/index']
                            ],
                            [
                                'icon' => 'fa fa-fw fa-plus-square',
                                'label' => Yii::t('StoreModule.attr', 'Create attribute'),
                                'url' => ['/store/attributeBackend/create']
                            ],
                        ],
                    ],
                    [
                        'icon' => 'fa fa-fw fa-folder-open',
                        'label' => Yii::t('StoreModule.category', 'Categories'),
                        'url' => ['/store/categoryBackend/index'],
                        'items' => [
                            [
                                'icon' => 'fa fa-fw fa-list-alt',
                                'label' => Yii::t('StoreModule.category', 'Categories list'),
                                'url' => ['/store/categoryBackend/index']
                            ],
                            [
                                'icon' => 'fa fa-fw fa-plus-square',
                                'label' => Yii::t('StoreModule.category', 'Create category'),
                                'url' => ['/store/categoryBackend/create']
                            ],
                        ],
                    ],
                    [
                        'icon' => 'fa fa-fw fa-plane',
                        'label' => Yii::t('StoreModule.producer', 'Producers'),
                        'url' => ['/store/producerBackend/index'],
                        'items' => [
                            [
                                'icon' => 'fa fa-fw fa-list-alt',
                                'label' => Yii::t('StoreModule.producer', 'Producers list'),
                                'url' => ['/store/producerBackend/index']
                            ],
                            [
                                'icon' => 'fa fa-fw fa-plus-square',
                                'label' => Yii::t('StoreModule.producer', 'Create producer'),
                                'url' => ['/store/producerBackend/create']
                            ],
                        ],
                    ],
                ],
            ],
        ];
    }

    public function getAdminPageLink()
    {
        return '/store/storeBackend/index';
    }

    public function getVersion()
    {
        return self::VERSION;
    }

    public function getCategory()
    {
        return Yii::t('StoreModule.store', 'Store');
    }

    public function getName()
    {
        return Yii::t('StoreModule.store', 'Store');
    }

    public function getDescription()
    {
        return Yii::t('StoreModule.store', 'Store module');
    }

    public function getAuthor()
    {
        return Yii::t('StoreModule.store', 'amylabs team');
    }

    public function getAuthorEmail()
    {
        return Yii::t('StoreModule.store', 'hello@amylabs.ru');
    }

    public function getUrl()
    {
        return 'http://amylabs.ru';
    }

    public function getIcon()
    {
        return 'fa fa-fw fa-shopping-cart';
    }

    public function init()
    {
        parent::init();

        $this->setImport(
            [
                'application.modules.store.models.*',
                'application.modules.store.forms.*',
                'application.modules.store.components.*',
            ]
        );
    }

    public function getAuthItems()
    {
        return [
            [
                'type' => AuthItem::TYPE_ROLE,
                'name' => 'Store.Manager',
                'description' => Yii::t('StoreModule.store', 'Catalog manager'),
                'items' => [
                    [
                        'type' => AuthItem::TYPE_TASK,
                        'name' => 'Store.AttributeBackend.Management',
                        'description' => Yii::t('StoreModule.attr', 'Manage product attributes'),
                        'items' => [
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.AttributeBackend.Index',
                                'description' => Yii::t('StoreModule.attr', 'View attribute list'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.AttributeBackend.Create',
                                'description' => Yii::t('StoreModule.attr', 'Create attribute'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.AttributeBackend.Update',
                                'description' => Yii::t('StoreModule.attr', 'Update attribute'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.AttributeBackend.View',
                                'description' => Yii::t('StoreModule.attr', 'View attribute'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.AttributeBackend.Delete',
                                'description' => Yii::t('StoreModule.attr', 'Delete attribute'),
                            ],
                        ],
                    ],
                    [
                        'type' => AuthItem::TYPE_TASK,
                        'name' => 'Store.CategoryBackend.Management',
                        'description' => Yii::t('StoreModule.category', 'Manage product categories'),
                        'items' => [
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.CategoryBackend.Index',
                                'description' => Yii::t('StoreModule.category', 'List of categories'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.CategoryBackend.Create',
                                'description' => Yii::t('StoreModule.category', 'Create category'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.CategoryBackend.Update',
                                'description' => Yii::t('StoreModule.category', 'Update category'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.CategoryBackend.View',
                                'description' => Yii::t('StoreModule.category', 'View category'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.CategoryBackend.Delete',
                                'description' => Yii::t('StoreModule.category', 'Delete category'),
                            ],
                        ],
                    ],
                    [
                        'type' => AuthItem::TYPE_TASK,
                        'name' => 'Store.ProducerBackend.Management',
                        'description' => Yii::t('StoreModule.producer', 'Manage producers'),
                        'items' => [
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProducerBackend.Index',
                                'description' => Yii::t('StoreModule.producer', 'View producer list'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProducerBackend.Create',
                                'description' => Yii::t('StoreModule.producer', 'Create producer'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProducerBackend.Update',
                                'description' => Yii::t('StoreModule.producer', 'Update producer'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProducerBackend.View',
                                'description' => Yii::t('StoreModule.producer', 'View producer'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProducerBackend.Delete',
                                'description' => Yii::t('StoreModule.producer', 'Delete producer'),
                            ],
                        ],
                    ],
                    [
                        'type' => AuthItem::TYPE_TASK,
                        'name' => 'Store.ProductBackend.Management',
                        'description' => Yii::t('StoreModule.product', 'Manage products'),
                        'items' => [
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProductBackend.Index',
                                'description' => Yii::t('StoreModule.product', 'View product list'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProductBackend.Create',
                                'description' => Yii::t('StoreModule.product', 'Create product'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProductBackend.Update',
                                'description' => Yii::t('StoreModule.product', 'Update product'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProductBackend.View',
                                'description' => Yii::t('StoreModule.product', 'View product'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.ProductBackend.Delete',
                                'description' => Yii::t('StoreModule.product', 'Delete product'),
                            ],
                        ],
                    ],
                    [
                        'type' => AuthItem::TYPE_TASK,
                        'name' => 'Store.TypeBackend.Management',
                        'description' => Yii::t('StoreModule.type', 'Manage product types'),
                        'items' => [
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.TypeBackend.Index',
                                'description' => Yii::t('StoreModule.type', 'Types list'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.TypeBackend.Create',
                                'description' => Yii::t('StoreModule.type', 'Types list'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.TypeBackend.Update',
                                'description' => Yii::t('StoreModule.type', 'Update type'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.TypeBackend.View',
                                'description' => Yii::t('StoreModule.type', 'View type'),
                            ],
                            [
                                'type' => AuthItem::TYPE_OPERATION,
                                'name' => 'Store.TypeBackend.Delete',
                                'description' => Yii::t('StoreModule.type', 'Delete type'),
                            ],
                        ],
                    ],
                ],
            ],
        ];
    }
}

redpajama_set_name: RedPajamaGithub


text:
Anuradha Dev
Anna's Arrow
Ashley Anthony
Lomarsh Luminary
Ryhaan Shah
Satiricus
The Roar of Ravi Dev
Younge's Take
The Economy & Finance – JB's Insight
Guyana Times
Home Features Eyewitness Unexplained…
Your Eyewitness confesses he's been binge watching "The Crown", which delves in great depth into the life and times of the present British monarch, Elizabeth II. His interest was initially piqued by getting a behind-the-scenes-look at the goings on in the upper reaches of old Blighty – as they ruled us as part of an empire on which the sun was about to set. Among so many other things, he was struck by how nonchalantly the members of the Royal Family could get whatever their hearts desired – houses, trips, horses, clothes…with no worries about where the money was coming from.
And this was just after WWII when the rest of Britain still needed ration cards for stuff like sugar – which they secured from us with the "Commonwealth Sugar Agreement" of 1951!! Well, it looks like the PNC inherited more than just the reins of parliamentary governance from Britain. From the just-released revelation on former Junior Minister in the Ministry of Public Infrastructure, Annette Ferguson, they also seemed to've picked up the monarchical entitlement to use the public purse as their personal piggy bank!!
Did you get a look at her palatial mansion that's about to be completed at Eccles? Evocative of Buckingham Palace, don't you think?? Well, we're pre-oil Guyana, but you see where they're headed, don't you?? But just as important, did you get a look at the house where the Minister lived with a hive of relatives just two years ago?? Gives a whole new perspective on the "rags to riches" homily: more like the fairy godmother trope where a wand is waved and – voila!! – your wishes come true!!
What's going on? Let's start with the land on which the palace materialised. Just three months ago, the Minister offered a sob story about how she applied for a houselot under the previous Administration – and never got one. Now let's say the tale is true: after all, around the same time the CH&PA had bemoaned the 25,000 backlog in houselot applications. So, can the goodly minister explain which fairy godfather waved his wand for her to jump to the head of the line?? Like those other PNC worthies revealed some time ago??
At the time the Minister insisted she received "just" a regular houselot of ¼ acre. Now you know even if it was ¼ acre, this ain't no regular houselot – but actually TWO!! Then when you look at the drone video, you realise she got more than three lots!! And then the mansion, studded with windows and high, vaulted roofs! The Minister claimed she took out a mortgage!! Really??
Her Junior Minister salary can service a $50 million mortgage – after income taxes are deducted?? Voila!!
…by the PNC
Stunned by the US analyst, Dr Evan Ellis' considered insider's opinion – after interviewing folks from all the stakeholder groups in Guyana, including the Govt – that the PPP will win the next elections, the PNC flew into a hissy fit!! Talk about getting your bucktas into a knot!! As your Eyewitness described yesterday, they "washed their mouths" on the poor expert who was just doing his job.
The US Embassy responded that the opinion was given by "Professor Ellis last April before his employment with the US State Department". But wasn't he then employed by the UN National War College and was here gathering data? And has anything changed since, to make him change the opinion he would've given the State Department after they employed him?
But the PNC should take note of the pointed, concluding observation by the US Embassy: they want "free, fair and PEACEFUL elections"!! "Free and fair" we all know. But "PEACEFUL"??
That's a warning to the PNC which rioted after the elections of 1992, 1997, 2001, 2006, etc…when they lost!!
…Group 77 Chair
The country's still waiting for an explanation from the PNC for degutting our Foreign Service just to buttress a former lowly UN translator functionary's ego. Ten-Pow never held a substantive UN diplomatic post in his life.
Oh judgement….!
Previous articleCCTV and crime-fighting
Next articleSOCU focuses too much on PPP officials, politicians – US analyst finds
GTIMES
Beggary…
"We will help you get back on your feet" – Ali tells WBD fired sugar workers January 18, 2020
Ramjattan a no-show at poorly-attended hometown meeting January 18, 2020
PPP expresses confidence in international presence at GECOM January 18, 2020
Tanker to lift first million barrels of oil this weekend January 18, 2020
Revoked Baishanlin concessions up for reallocation January 18, 2020
Enter your email address to subscribe to this website and receive FREE notifications of new posts by email.
"We will help you get back on your feet" – Ali tells WBD fired sugar workers
Ramjattan a no-show at poorly-attended hometown meeting
PPP expresses confidence in international presence at GECOM
Tanker to lift first million barrels of oil this weekend
Revoked Baishanlin concessions up for reallocation
Guyana Times is your news, entertainment, music, fashion website. We provide you with the latest breaking news and videos straight from Guyana.
© Guyana Times | A GxMedia Website Solution.
"We will help you get back on your feet" – Ali...

redpajama_set_name: RedPajamaCommonCrawl


text:
Softball: Ramundo dominant as DePaul wins 6th straight PCT title
Chris Iseman
WANAQUE — DePaul didn't focus on winning its sixth consecutive Passaic County title.
The Spartans just focused on winning this season's championship.
The previous five titles didn't matter.
"The only thing that matters is West Milford, they're sitting in front of you," coach Sue Parler said. "So we didn't go for six in a row. It's always somebody's first. It's always somebody's last.
"We went for this one. We went for 2017."
Now DePaul is the champion once again.
Summer Ramundo was dominant in the circle to finish with 18 strikeouts as the top-seeded Spartans defeated No. 2 West Milford, 6-0, in the Passaic County tournament final Monday at Back Beach Park.
Senior centerfielder Amanda Ayala went 4-for-4 with two stolen bases and an RBI, while senior DP Morgan O'Neill hit a solo home run.
Junior catcher Dominique Coiro was outstanding, going 3-for-4 with a three-run home run and four RBI.
The Spartans scored four runs in the bottom of the sixth behind an RBI single from Ayala and Coiro's homer.
It was a big game from Ayala in a what's been a huge season for the Tennessee-bound senior.
She missed half her sophomore season and her entire junior season because of injuries, but capped her high school career with another county title.
"We've been in a position that not many people have been the opportunity to say they're in," Ayala said. "We've had the target on our backs all season. Coach Parler always talks about that. I think we did a phenomenal job of wearing it proudly."
Ramundo, meanwhile, was stellar to shut down a strong West Milford lineup.
"It's history," Ramundo said of DePaul's sixth straight county title. "It's great. I couldn't be happier. I'm really proud of my team."
The junior struck out the first five batters she faced before issuing a pair of two-out walks.
But she then got another strikeout to end the top of the second inning.
Jessica Utter had a one-out single for the Highlanders in the third, but Ramundo fanned the next two batters.
Then Kayla Yuhas hit a one-out double to right in the fifth, but Ramundo got a lineout and strikeout to end the inning and escape further trouble.
Those were the only two hits Ramundo surrendered.
"The good thing about it was she didn't try to overpower people," Parler said. "She pitched. She didn't try and muscle. She pitched and she was smart. A well-called game by our catcher. …By far that was Summer's strongest performance to date."
Email: iseman@northjersey.com


Escape the din of city life. Perched atop the Pasumalai hill, amid 62 acres of peaceful, landscaped gardens, The Gateway Hotel is the epitome of colonial architecture. Here you'll find a charmed spot to relax and take in picturesque views of the Temple City and the Kodai hills.


Download our free e-book, Basement Waterproofing Boot Camp!
Efflorescence is a crystaline deposit on surfaces of masonry, stucco or concrete. It is whitish in appearance, and is sometimes referred to as "whiskers". Efflorescence has been a problem for many years, and is a topic of much controversy. The formation of these salt deposits are not mysteries. They are, for the most part, water-soluble salts that come from many possible sources to mar and detract from an otherwise beautiful and serviceable structure.
First of all, there must be water present to dissolve and transport the salts. Groundwater is often a source of efflorescence. For water to carry or move the salts to the surface there must be channels through which to move and migrate. The more dense the material, whether it be brick, stone, stucco or concrete, the more difficult for the water to transport salts to the surface. Conversely, the more porous the material, the greater the ease with which salts are transported and deposited. Salt-bearing water, on reaching the surface of a structure, air evaporates to deposit the salt. When humidity is low, the water may evaporate before reaching the surface of the structure, leaving the salt deposit beneath the surface, and unseen. When the humidity is high, water evaporation is slower allowing more opportunity for whisker growth.