# |
Jul 18th 2018, 14:05 |
neon1024 |
Ah, it does. Must be some magic |
# |
Jul 18th 2018, 14:04 |
neon1024 |
Why doesn’t the Text helper implement the slug() method? It uses the Text clas |
# |
Jul 18th 2018, 14:03 |
neon1024 |
Neat way to install plugins. I found that kinda annoying in Atom, and I’ve just had to get used to it in Sublime Text |
# |
Jul 18th 2018, 14:01 |
admad |
the php intellisense extension will give you decent auto completing after adding annotations using euromark's ide plugin |
# |
Jul 18th 2018, 13:59 |
neon1024 |
@admad Thanks for suggesting VS Code, I’m checking it out now. Seems kinda neat |
# |
Jul 18th 2018, 13:47 |
josbeir |
right i'm sorry |
# |
Jul 18th 2018, 13:46 |
flavius |
https://www.youtube.com/watch?v=hpigjnKl7nI |
# |
Jul 18th 2018, 13:46 |
flavius |
watch your profanity :) |
# |
Jul 18th 2018, 13:45 |
josbeir |
fuck adobe ! |
# |
Jul 18th 2018, 13:44 |
josbeir |
wanst brackets abondend ? |
# |
Jul 18th 2018, 13:44 |
josbeir |
@mr.mjsm a nice upgrade would be visual studio code |
# |
Jul 18th 2018, 13:44 |
admad |
@mr.mjsm brackets is more designer centric. Switch to vscode |
# |
Jul 18th 2018, 13:44 |
josbeir |
oh wait |
# |
Jul 18th 2018, 13:43 |
mr.mjsm |
@admad I am using brackets editor :,) |
# |
Jul 18th 2018, 13:43 |
josbeir |
hey.. if the code is readable.. |
# |
Jul 18th 2018, 13:43 |
flavius |
just like me <3 |
# |
Jul 18th 2018, 13:43 |
flavius |
ha, i knew it, you're a rebel |
# |
Jul 18th 2018, 13:42 |
mr.mjsm |
Totally agree @flavius |
# |
Jul 18th 2018, 13:42 |
josbeir |
:) :) :) |
# |
Jul 18th 2018, 13:42 |
flavius |
PS: standards are for BORING people, am i right? @mr.mjsm |
# |
Jul 18th 2018, 13:42 |
josbeir |
@mr.mjsm remove the last line out of the else block, 'company' should not be set conditionally |
# |
Jul 18th 2018, 13:42 |
admad |
@mr.mjsm use an editor with auto formatter feature or one which runs phpcs in background and highlights mis-formatted code |
# |
Jul 18th 2018, 13:41 |
flavius |
you gotta give him that |
# |
Jul 18th 2018, 13:41 |
mr.mjsm |
I wrote the code then added the brackets so it was manually :upside_down_face: |
# |
Jul 18th 2018, 13:41 |
flavius |
i mean, at least he aint using TABS :) |
# |
Jul 18th 2018, 13:41 |
josbeir |
:) |
# |
Jul 18th 2018, 13:40 |
josbeir |
remind me to never post any code in here ... |
# |
Jul 18th 2018, 13:40 |
flavius |
that's his way of standing out :P |
# |
Jul 18th 2018, 13:40 |
flavius |
maybe he likes being special |
# |
Jul 18th 2018, 13:40 |
josbeir |
for what it does its also very ... euhm.. verbose |
# |
Jul 18th 2018, 13:40 |
admad |
which begs the question why he hasn't done it |
# |
Jul 18th 2018, 13:40 |
flavius |
come on guys, its not that bad, most editors will auto-format it for you :P |
# |
Jul 18th 2018, 13:40 |
josbeir |
haha thats one way to look at it |
# |
Jul 18th 2018, 13:39 |
admad |
@josbeir that's one way to ensure long term employment. No one else can read your code :slightly_smiling_face: |
# |
Jul 18th 2018, 13:37 |
josbeir |
:- |
# |
Jul 18th 2018, 13:37 |
flavius |
shut up @josbeir, he's got enough problems as it is :P |
# |
Jul 18th 2018, 13:37 |
josbeir |
i just ate... |
# |
Jul 18th 2018, 13:37 |
josbeir |
shit @mr.mjsm do something about those brackets |
# |
Jul 18th 2018, 13:36 |
mr.mjsm |
i really don't know what i am doing wrong |
# |
Jul 18th 2018, 13:36 |
mr.mjsm |
@admad everything was working fine, what I wanted instead of creating the email in a separate page i wanted to force the creating of at least one email with the company. |
# |
Jul 18th 2018, 13:34 |
admad |
@mr.mjsm here's what I suggest. Start with a copy of database with proper names as per conventions. Then bake will do most of the things for you. Once you have everything working then you will just have to use ->setTable() in the table class to use the wacky table names like "companys" |